How often should I use the battery on my MacBook (which I exclusively use as desktop)?
What are the best practices for battery longevity?
lstlisting in two columns I would like to have two listings, side by side.  They have approximately the same length, therefore I don't care about how it's layed out if one part is longer.  I tried  \begin{minipage}{\textwidth} \begin{parcolumns}{2} \colchunk{\begin{lstlisting}[caption=code 1,frame=tlrb]{Name} void code() {  } \end{lstlisting}}  \colchunk{\begin{lstlisting}[caption=code 2,frame=tlrb]{Name} void code() {  } \end{lstlisting}}  \colplacechunks \end{parcolumns} \end{minipage}   while the border of the listings end up in chunks as follows:   Btw I'm using the texlive-package &amp; pdflatex on Ubuntu and the document class is  \documentclass[ a4paper, 10pt, twoside, openright, notitlepage, parskip=half, ]{scrreprt}   Any idea is appreciated. Show $\inf_f\int_0^1|f'(x)-f(x)|dx=1/e$ for continuously differentiable functions with $f(0)=0$, $f(1)=1$. Area 51 login no longer redirects nor logs in How to detect scene strips in the VSE on frame changes? I need to detect scene strips in the VSE on the current frame, meaning on what strip is the play head at this moment? However I can't seem to find the right type(?) to attach the ".strip_elem_from_frame" function to, in order to get the info/name/type on the strip. Here's a test script which must run in a screen with a sequencer with scene and movie strips in it:  import bpy  #update at frame change def currentStrip(*pArgs):     print("Current Strip: "+str(bpy.context.sequences[0].strip_elem_from_frame(bpy.context.scene.frame_current))) #Doesn't detect any strips at all.  #add frame change handle def attachAsHandler():     for f in bpy.app.handlers.frame_change_pre:         bpy.app.handlers.frame_change_pre.remove(f)     bpy.app.handlers.frame_change_pre.append(currentStrip)  currentStrip() attachAsHandler() Fiction novel or movie about sentient dinosaurs I remember parts of a story about some researchers finding a society of sentient dinosaurs. I believe they lived underground. From what I recall there were some steam punk elements and I think crystals were important.  From what I recall (this might be wrong) there was a book and also a movie about that story.  In the process, humans lived with these dinosaurs. I am not sure if that was like that from the beginning or if that happened later.  Any idea what that story might be? I find myself constantly looking up the syntax of  find . -name "FILENAME"  -exec rm {} \;   mainly because I don't see how exactly the -exec part works. What is the meaning of the braces, the backslash and the semicolon? Are there other use cases for that syntax? How to show that $\log (\frac{2a}{1-a^2}+\frac{2b}{1-b^2}+\frac{2c}{1-c^2})= \log\frac{2a}{1-a^2}+ \log \frac{2b}{1-b^2}+ \log \frac{2c}{1-c^2}$ If $\log (a +b +c) =\log a+\log b+\log c$ then show that $$\log \left(\frac{2a}{1-a^2}+\frac{2b}{1-b^2}+\frac{2c}{1-c^2}\right)= \log\frac{2a}{1-a^2}+ \log \frac{2b}{1-b^2}+ \log \frac{2c}{1-c^2}$$  Trial: If put $a=\frac{2a}{1-a^2}$ and the similar we are done. Can we do this in this way? Otherwise how to do. Please help. Available space not changing when resizing a partition Word for something sad and funny at the same time What's a word for conflicting emotions that are felt at the same time? For example, loneliness, sadness, happiness, being content but also feeling as if something isn't right?  To sum up: What's a word for something that is sad and funny at the same time? Is there some special case where a fermion can mediate a force? What do you call a person who does/thinks the opposite of the crowd for just that reason? Such a person does not hold in high regard the decisions taken by a group (not a team) of people. She believes that groups tend to be anarchic and don't serve their purpose.  An example would be - for outings with friends, this person will not like planning it with the group since they will mess it up.  Therefore, this person has convinced herself that when more people are involved with something, it will be worse. She distrusts crowds instinctively basically. Explanation of seasons in "A Song of Ice and Fire" How can I suppress all output from a command using Bash? I have a Bash script that runs a program with parameters.  That program outputs some status (doing this, doing that...). There isn't any option for this program to be quiet. How can I prevent the script from displaying anything?  I am looking for something like Windows' . Why does $\lim_{n\to\infty}(1+\frac{1}{n})^n = e$ instead of $1$? On Wikipedia, it says that $\lim_{n\to\infty}(1+\frac{1}{n})^n = e$ :     It [e] is approximately equal to 2.71828,[1] and is the limit of (1 + 1/n)n as n approaches infinity, ... ()   When I evaluate $(1+\frac{1}{n})^n$ for $n = 10^8$, I get approximately $2.718281798347$ which indeed is pretty close to $e$.  But when I try to "solve" the limit using the laws of limits, I get  $$\lim_{n\to\infty}\left(1+\frac{1}{n}\right)^n = \left(\lim_{n\to\infty}\left(1+\frac{1}{n}\right)\right)^n$$  because of the power law  $$ = \left(\lim_{n\to\infty}(1)+\lim_{n\to\infty}\left(\frac{1}{n}\right)\right)^n$$  because of the addition law  $$=\left(1+0\right)^n = 1$$  but that would mean that $e=1$, which is obviously not true.  What am I missing / doing wrong?  Thanks in advance. Show that $n-m$ is a multiple of 9 when $n$ and $m$ have same digits I have just proved the divisibility rule for 3 and 9.  Let $n\in\mathbb{N}$. Let $m$ be a number that appears when you shuffle the digits in $n$. Show that $n-m$ is a multiple of 9.  Can anyone offer some help? Necessary condition for square integrable functions? I'm studying Quantum Mechanics and I came across this which I don't quite understand: For a vector space of functions $f(x)$ to be square integrable (i.e $\int{|f(x)|^2dx &lt; \infty)}$, the necessary condition is $\lim_{|x| \to \infty}f(x) \to 0$. Can someone help me understand why that must be the case? I sort of understand that it must not blow up at the infinities but can a (continuous or piece-wise continuous) function have a non-zero finite value at the infinities and still be square integrable? Comprehensive list of activation functions in neural networks with pros/cons Are there any reference document(s) that give a comprehensive list of activation functions in neural networks along with their pros/cons (and ideally some pointers to publications where they were successful or not so successful)? SVN Error - Not a working copy Recently our svn server was changed and we did a svn switch.  Since the working copy had a huge amount of unversioned resources, the working copy got locked and we started switching folder by folder for all folders under svn, which works perfectly fine.  But at the top most level of the repository, when I try to update files, I get the svn: Working copy '.' locked error and cleanup is not helping either. When I do cleanup, I get errors like these - svn: 'content' is not a working copy directory  Fresh checkout is NOT an option at all. Are there any other ways to cleanup and release the locks and do the switch completely ?  EDIT:  The last paragraph in JesperE's answer     If you get a "not a working copy" when   doing a recursive "svn cleanup" my   guess is that you have a directory   which should be a working copy (i.e.   the .svn directory at the toplevel   says so), but it is missing its own   .svn directory. In that case, you   could try to just remove/move that   directory and then do a local update   seems to be the solution to the problem in the repository. I have identified those folders and did a fresh checkout of those specific folders alone and wow, the locks are released in the subsequent cleanup! Thanks a lot JesperE !!  But, I still cannot figure out the svn switch error which now reads something like,     svn: The repository at   'svn://repourl/reponame/foldername'   has uuid 'm/reponame', but the WC   has 'b5b39681-0ff6-784b-ad26-2846b9ea8e7d'   Any ideas ? How to change kernel at boot I installed the latest kernel (4.1) and want to boot into it instead of 3.9. How can i do this on ubuntu 15.04? In the sentence "the best choice would be...", what does "would" mean in the following sentence?     Questioner: Is this sentence correct?   'Finished eating, we went to the zoo'.      Answer: I'm afraid that is not correct. The phrase 'Finished eating' is a participle phrase with a passive meaning and you need an active meaning here. The best choice would be 'Having finished eating...'.