Is there a way to force a specific program to use less than 100% processor time even when the CPU would be idle otherwise?  Using process priority, we can adjust how much resources a given program consumes in relation to other programs. If the process priority of a program is set to 'below normal', the program will consume less CPU time while other programs require those resources.  However when the the processor is otherwise idle, a program may utilize the CPU at 100% regardless of its process priority; thus increasing power consumption and heat.  I would like to reduce the cpu use of certain programs under these circumstances, depending on whether these programs currently have focus.   For example I would like to force Firefox to use at most 1% of the CPU whenever it has lost focus for more than 1 minute.  Is there any way to do that?  (There may be specific solutions to find and unload resource intensive tabs in Firefox, but I am mainly looking for a general solution that works for all programs)
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.
I was hoping I would find some people in the industry that could help me decide what's the best price to charge to design (in this case) business cards.  What are standard prices for professional designers?  From a firm point of view? From a freelancer?  I don't want to overcharge clients but I don't want to ruin the industry by underselling my services. Compute $\int_0^\infty\frac{\cos(xt)}{1+t^2}dt$ Let $x \in \mathbb R$  Find a closed form of $\int_0^\infty\dfrac{\cos(xt)}{1+t^2}dt$ .   Let me give some context: this is an exercise from an improper integrals course for undergraduates. My teacher was not able to give a valid solution without  resorting to Fourier series.   He actually wanted to prove first that the function is a solution of the ODE $$ y-y'' =0$$ without succeeding in proving it.   Anyway the result sould be $\dfrac{\pi}{2}e^{-x}$  Thanks for any help on this subject. I often read outputs in the terminal that get wrapped as they are too long. Since there is no way that I can modify the printed output, I need to let the Terminal allow for horizontal scrolling.  Is there a modification I can make to the default OS X Terminal to disable line wrapping and allow for horizontal scrolling?  Or do you know another alternative I can use? In  (2014) the human race seemed to be facing pretty poor odds until they discovered a convenient wormhole placed by an unknown entity expressed as "they". Later in the movie, we discover that       "they" are actually the human race in the future, reaching back in  time to save itself.   The end of the movie gets a little wild on the physics end, and I'm happy to take that ending as is - no need for it to make sense - but one very basic detail does bother me:  How could the human race have gone back in time to save itself from circumstances that would have caused us to go extinct without our own help (the convenient wormhole)? Trouble downloading packages list due to a "Hash sum mismatch" error I tried to make a crouch system. In my script I changed .height and .center properties of collider in CharacterController component. But there are some problems. First, once I press "crouch button" collider is changing its height and center position but when I release the key the collider isn't returning to its previous state. Secondly, if I change its height and position by hand when collider is under a block, it's just stuck. How can I fix this problem?   Here's my script:  using System.Collections; using System.Collections.Generic; using UnityEngine;  [RequireComponent(typeof(CharacterController))] public class PlayerController : MonoBehaviour {      public float moveSpeed;     public float jumpForce;     public CharacterController controller;     public GameObject myCamera;      private Vector3 moveDirection = Vector3.zero;     public float gravityScale;      public Animator anim;      // Use this for initialization     void Start () {         transform.tag = "Player";         controller = GetComponent&lt;CharacterController&gt;();            }      // Update is called once per frame     void Update () {         Vector3 forwardDirection = new Vector3 (myCamera.transform.forward.x, 0, myCamera.transform.forward.z);         Vector3 sideDirection = new Vector3(myCamera.transform.right.x, 0, myCamera.transform.right.z);         forwardDirection.Normalize ();         sideDirection.Normalize ();         forwardDirection = forwardDirection * Input.GetAxis("Vertical");         sideDirection = sideDirection * Input.GetAxis("Horizontal");         Vector3 directFinal = forwardDirection + sideDirection;          if (directFinal.sqrMagnitude &gt; 1)         {             directFinal.Normalize ();         }          if (controller.isGrounded)         {             moveDirection = new Vector3(directFinal.x, 0, directFinal.z);             moveDirection *= moveSpeed;             if (Input.GetButtonDown("Jump"))             {                 moveDirection.y = jumpForce;             }              if(Input.GetButtonDown("Crouch"))             {                 controller.height = 1f;                 controller.center = new Vector3(0f, -0.5f, 0f);                 moveSpeed = 3f;             }         }         moveDirection.y = moveDirection.y + (Physics.gravity.y * gravityScale * Time.deltaTime);         controller.Move(moveDirection * Time.deltaTime);          anim.SetBool("isGrounded", controller.isGrounded);         anim.SetFloat("Speed", (Mathf.Abs(Input.GetAxis("Vertical")) + Mathf.Abs(Input.GetAxis("Horizontal"))));     } }   Thanks for any help! I found Sean Carroll's "A No Nonsense Introduction to General Relativity" (about page .  pdf ), a 24-page overview of the topic, very helpful for beginning study.  It all got me over the hump of learning the meaning of various terms associated with GR, most of which I had heard before without understanding.  It also outlined the most important examples.  Is there a similar document for quantum field theory, which presents the main equations, briefly describes the main ideas, and summarizes the most important applications and results so that the reader can feel the lay of the land before studying in depth? After Factory Reset, In order to use Play store and Gmail I want to setup Google account on Samsung GT-S6802. When I tries to setup Google Account, In-spite of right user-name and password, following window appearers:    When I open gmail form browser, I've mail from google subject:Sign-in attempt prevented and says:     Someone just tried to sign in to your Google Account hidden@gmail.com from an app that doesn't meet modern security standards.     When I review, it shows unknown device but on browser it detects my device.  So, How do I face this issue and setup google account? Does a creature with Lifelink provide lifegain equal to its power, or the defender's toughness? Action to crop a photo with user input. The batch processing I'm stumped.  All I need to do is open my photo, have the action stop to wait for me to decide where the crop should be (to center the important part of the photo), then close that photo so the batch processing can go get the next photo.  I see the "inset stop" is the key, but it never allows me to crop, it just moves on to the next photo. How do I simulate flip of biased coin? In unbiased coin flip H or T occurs 50% of times.  But I want to simulate coin which gives H  with probability 'p' and T with probability '(1-p)'.  something like this:  def flip(p):    '''this function return H with probability p'''    # do something    return result  &gt;&gt; [flip(0.8) for i in xrange(10)] [H,H,T,H,H,H,T,H,H,H] Was Luke Skywalker the leader of the Rebel forces on Hoth? Rewatching Star Wars: The Empire Strikes Back, I noticed the opening crawl declares Luke Skywalker as the leader of the Rebel forces on Hoth:     Evading the dreaded Imperial Starfleet, a group of freedom fighters   led by Luke Skywalker has established a new secret base on the remote   ice world of Hoth.   Is that correct? I though Princess Leia or General Rieekan commanded the Rebel base on Hoth.  I can't find any references to this discrepancy on the Internet. Maybe in an earlier version of the script, Luke Skywalker was the commander and the crawl wasn't updated. Or perhaps "led" is meant in the sense Luke was a moral leader of the Rebel fighters? I think my MacBook Pro battery was replaced by Apple's service team. How do I check that? Start Mathematica without the menu bar? Lat Long to X Y Z position in JS .. not working How can I fix/repair a corrupted PDF file? Which function (s) is(are) the k-th derivative of itself? As I attempted to solve for a function that is the $k$-th derivative of itself where $k$ is some natural number, and generalise the result, I realised it gets very hard to prove anything. For $k= 1$, apart from trivial corner cases, it's the exponential function with any constant multiplied.  For $k=2$, along with the exponential function and it's reciprocal, it works for their sum along with any mixture by constants multiplied...  For any $k$, I guessed it should be of the form $e^{x w}$ where w is the $k$-th root of unity. And we can add all these $k$ terms for each root with constants multiplied.  While it is easy to verify it's satisfying the condition, it is beyond my scope to prove this is the only family of functions that satisfy it.  I am hoping for some interesting math at work here, and want to know if this is an already established fact. Also, how do I prove anything here? Variable substitution with an exclamation mark in bash Cauchy principle value of $\int_{-\infty}^{\infty}\sin(x)/(x-a)dx$ What is the meaning of "stop to do"? My teacher said that "stop to do" had two meanings: quit doing present work to do next work (which is following after the word "do") and pause for a while then continue. I have searched a lot about its meanings but what i got just about the first meaning. Is the second one true?  For examples:   I stop to play games.   First meaning: i stop doing something in order to play games.  Second meaning: i pause playing games for a while then i continue.