Can pmset's ChargeInhibit be used to prevent battery charging? I've been using my MacBook with AC power a lot lately and I thought that if I could use pmset to run on AC power whenever available and keep my battery at roughly 50% that would extend the life of my battery and AC adapter. I know that it's advisable to  the battery.  I'm running OS X 10.10, Yosemite, on a mid-2012 Macbook Pro. I read that in Mac OS X 10.6 pmset could be used to prevent the battery from charging.  Is there any way to do this other than putting a piece of tape on the charger?
How to disable battery charging? From the pmset man page:     POWER SOURCE ARGUMENTS      -g with a 'batt' or 'ps' argument will show the state of all attached power sources.      […] Certain Apple battery calibration tools may temporarily disable   battery charging, even though your Apple portable is plugged into AC   power.      Such tools will never surprise you with this behavior; you will know   it's happening. This state will be reflected in an additional line of   output to 'batt' or 'ps' readings, including the pid of the app   inducing this behavior.       'ChargeInhibit':    1432    So, does any piece of publicly available software exist to force the battery not to charge?
Do proposals on Area 51 expire? Is there any kind of time frame in which new proposals are expected to attain the requisite number of followers to move to the next phase?  I can see where if it takes a year to gather enough followers to take the proposal to beta then maybe the proposal can come into question, but I can also see where others might take longer.  Or is the thought to go ahead and let it take as long as it takes and then it'll all get sorted out during the beta period? Can't execute terminal commands: "the command 'sudo' is available in '/usr/bin/sudo'" I have been using Ubuntu 12.04 for quite a while and have never had a problem come at me out of the blue like this. I'm trying to install python 3.2 on my Ubuntu system and every time I run the code to compile the python source, I get this error:  'Command 'sudo' is available in '/usr/bin/sudo' The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found'   I've also tried running gksudo command to view what my environment shows but I pretty much get the same error. What's a command line way to find large files/directories to remove and free up space? Looking for a series of commands that will show me the largest files on a drive. In general, what is meant by saying that the fraction $x$ of the variance in an analysis like PCA is explained by the first principal component? Can someone explain this intuitively but also give a precise mathematical definition of what "variance explained" means in terms of principal component analysis (PCA)?  For simple linear regression, the r-squared of best fit line is always described as the proportion of the variance explained, but I am not sure what to make of that either. Is proportion of variance here just the extend of deviation of points from the best fit line? Adding hyperlinks to pop-up data in qgis2web? Does anyone know if it is possible to add hyperlinks to image fields etc. in the pop-up windows of Qgis2web?  I've had a look in the layers javascript file, but the image source path isn't rendered using html, so I can't simply append &lt;a href" to it.  The image is coming in via the usual method of having a field that contains the path of the image file.  I'd like to achieve linking of the image, like in the example below. Alternatively, I could just populate the 'more info' field with the URL, but if I did that I'd like to avoid just doing it by having a field that contains the entire URL, as some may be quite long (these will only be internal links). Default route lost on reboot How do I craft command blocks? I went to my friends house, and he was playing Minecraft on the PC. He showed me a command block, but when I went home and opened Minecraft pocket edition, I went to the crafting table but I could not find any command blocks to craft.  What are command blocks and how do I craft them? I read with interest about Einstein's Theory of Relativity and his proposition about the speed of light being the universal speed limit.    So, if I were to travel in a spacecraft at (practically) the speed of light, would I freeze and stop moving?  Would the universe around me freeze and stop moving?  Who would the time stop for? Do flight attendants prefer I press the button or walk to the back? (Long-haul flights) How can I remove Ubuntu from my system and install the Windows bootloader? If I short sell stocks of a company but do not close my position by buying them back, what will happen? I realize it is a bad thing, but what exactly? I will need to pay a penalty? Proof that a sequence is convergent How do I add myself into the sudoers group? Possible Duplicate:          I've added myself back into the admin's group I think, by following   But I still can't do commands like:  sudo aptitude update   I get the message  oshirowanen is not in the sudoers file.  This incident will be reported.   How do I add myself into the sudoers group now that I am in the admin group? Exporting Data From Salesforce - REST or SOAP? We have a requirement where we need to export records from salesforce tables into our application programmatically. I am reading on the various API's for data integration from salesforce mainly SOAP vs REST API's.  From what I understand, REST should be used when the web service requests are from mobile devices or browser based clients (since they understand JSON). Is that true? If that's the case how do Bulk REST API's fit the bill (since they are meant for bulk data transfers)?  I would like to get your thoughts on what are pros and cons in using SOAP or REST API's to export data records. Note that the requests are being made a java ee server application programmatically. After retrieving the records (probably in batches) from salesforce records we process (validate, filter etc) them and load them in our internal tables.  Thanks. In the King James version of the Bible there is a verse like this:     The Lord is my strength, and my fortress, and my song. And He is become my salvation.   Is it still feasible to use "is become" instead of "has become" and what is the semantic difference? Finite Sum $\sum\limits_{k=1}^{m-1}\frac{1}{\sin^2\frac{k\pi}{m}}$ How to diagnose a search engine ranking drop? Is there a measurable set $A$ such that $m(A \cap B) = \frac12 m(B)$ for every open set $B$? Find all the numbers $n$ such that $\frac{4n-5}{60-12n}$ can't be reduced. Find all the numbers $n$ such that $\frac{4n-5}{60-12n}$ can't be reduced.   Attempt:  $$\gcd(4n-5,60-12n)=(4n-5,-8n+55)=(4n-5,-4n+50)=(4n-5,45)$$  $$n=1: (4-5,45)=1\quad \checkmark\\ n=2: (3,45)=3\quad \times\\ n=3: (7,45)=1\quad \checkmark\\ n=4: (11,45)=1\quad \checkmark\\ n=5: (15,45)=15\quad \times\\ n=6: (19,45)=1\quad \checkmark\\ n=7: (23,45)=1\quad \checkmark\\ n=8: (27,45)=9\quad \times\\ \vdots$$ So the answer is that it can't be reduced for $n=1,3,4,6,7,..$ i.e  $$\bigg\{n\bigg|n\notin \begin{cases}a_1=2\\a_n=a_{n-1}+3\end{cases}\bigg\}$$  I want to verify that my solution is correct Consider the sequence defined by $a_1 = \sqrt{2}$, $a_2 = \sqrt{2 + \sqrt{2}}$, so that in general, $a_n = \sqrt{2 + a_{n - 1}}$ for $n &gt; 1$. I know 2 is an upper bound of this sequence (I proved this by induction). Is there a way to show that this sequence converges to 2? What I think is that the key step is to prove 2 is the least upper bound of this sequence. But how?