Default Boolean value in Java
Is Java's default value for Boolean 'true'?
Idiom or expression that would imply "someone is a habitual liar" I'm looking for an idiom or expression for describing people who tell lies out of habit (so you cannot trust them at all).   I know that these people are called , but I'm not looking for psychological terms.  Is there any idiom or expression for describing such people?   For example:     "Did X tell that to you?! Come on, don't believe him/her. Don't you know he/she ___ (=is a habitual liar)?" How to install Minecraft (Client) How to correctly install Minecraft, including setting any needed packages or apps to install it and to troubleshoot the most common problems that Ubuntu users face when trying to use Minecraft.  I am trying to install and run Minecraft without first having to install the Oracle version of Java. I want to use the OpenJDK version that comes with Ubuntu and as a last resort, use the Oracle one.  I also want to know a list of problems related to Minecraft in Ubuntu and the possible solutions to them.  A step by step guide on how to install Minecraft would also help. It was announced on  (at 1:05:26) that Stack Exchange has its own URL shortener, http://s.tk/. Users can't create their own, they can only use the ones that are built-in. What shortened URLs are available through it? Proof of Frullani's theorem How can I prove the Theorem of Frullani? I did not even know all the hypothesis that $f$ must satisfy, but I think that this are  Let $\,f:\left[ {0,\infty } \right) \to \mathbb R$ be a a continuously differentiable function such that $$ \mathop {\lim }\limits_{x \to \infty } f\left( x \right) = 0, $$ and let $ a,b \in \left( {0,\infty } \right)$. Prove that $$ \int\limits_0^{\infty}  {\frac{{f\left( {ax} \right) - f\left( {bx} \right)}} {x}}dx  = f\left( 0 \right)\left[ {\ln \frac{b} {a}} \right] $$  If you know a more general version please give it to me )= I can´t prove it. Switching between one and two monitors When running my MBP, I attach an external monitor, a keyboard and trackpad to it so I have two separate desktops which are contiguous; like it's a "fancy" desktop.   Back in the day on Mavericks, it behaved properly: when I unplugged the external monitor to, say, take the laptop into a meeting, it would just put all of the desktops separately on the built in display, roughly preserving which window stayed on which desktop so all you'd have to use was a run a restore tool like Display Maid to restore your window positions when you plug your external monitor back in. This was handy because you didn't have to manually clean up your desktop when done.   Now, with El Cap, it would seem that when you unplug the external monitor, it used the monitor count of whichever screen had the most desktops and merges the windows from the two "combined desktops" into one desktop in a way that seemed to be random, which is clumsy.   Worse, setting back Display Maid to restore the original configuration automatic doesn't work like it used to - previously it saved positions on all desktops in one action, but now it does it one screen at a time and forcing you restore eech desktop separately, which is tedious. It would seem that Display Maid is not great software anymore.  Is there some other utility out there that must work better so you can restore how your windows and desktop setup was as it was before you unplugged the external monitor. Any ideas? Do I make money in the stock market from other people losing money? Do small title edits constitute trivial edits? Unit testing void methods? What is the best way to unit test a method that doesn't return anything? Specifically in c#.  What I am really trying to test is a method that takes a log file and parses it for specific strings. The strings are then inserted into a database. Nothing that hasn't been done before but being VERY new to TDD I am wondering if it is possible to test this or is it something that doesn't really get tested. Is a music band a singular or a collective entity, grammatically speaking? Duplicate:    What is correct to say?  Korn* is a great band  OR  Korn* are a great band.  (* You can replace your favourite band's name here) Of course everybody there is no doubt about the following sentences:  The Beatles are a great band Led Zeppelin is a great band  But with certain kinds of names, the situation becomes difficult.  Metallica are a great band  OR  Metallica is a great band  Is there any consensus on this matter? The $n$ complex $n$th roots of a complex number $z$ Suppose $z$ is a nonzero complex number, so $z=re^{i\theta}$. Show that there are only $n$ distinct complex $n$-th roots, given by $r^{1/n}e^{i(2\pi k+\theta)/n}$ for $0\leq k\leq n-1$.   My proof: Let $z=re^{i\theta}\in\mathbb{C}$ and $a\in\mathbb{C}$ s.t. $a^{n}=z$. Let $a=\rho e^{i\varphi}$. Then, $a^{n}=(\rho e^{i\varphi})^{n}$. Setting $\rho^{n}e^{i\varphi n}=re^{i\theta}$ and rewriting in polar form, we get $$\rho^{n}(\cos(n\varphi)+i\sin(n\varphi))=r(\cos(θ)+i\sin(\theta)).$$ Thus $\rho^{n}=r$ $\rightarrow$ $\rho=r^{1/n}$ and $n\varphi=\theta\rightarrow\varphi=\theta/n$. Thus the roots of $a\in\mathbb{C}$ have the form $$r^{1/n}(\cos(\tfrac{\theta}{n})+i\sin(\tfrac{\theta}{n}))=r^{1/n}(\cos(\tfrac{\theta}{n}+2\pi j)+i\sin(\tfrac{\theta}{n}+2\pi j))$$ for some $j\in\mathbb{Z}$ due to the periodicity of trig functions. Then, $$r^{1/n}(\cos(\tfrac{\theta}{n}+2\pi j)+i\sin(\tfrac{\theta}{n}+2\pi j))=r^{1/n}e^{i\left(2\pi j+\tfrac{\theta}{n}\right)}=r^{1/n}e^{i(\theta+2\pi k)/n}$$ for $0\leq k\leq n-1 ,j=nk\in\mathbb{Z} $.  I feel like there could be a more concise way to put this. This is a  about using cron &amp; crontab.   You have been directed here because the community is fairly sure that the answer to your question can be found below. If your question is not answered below then the answers will help you gather information that will help the community help you. This information should be edited into your original question.  The answer for 'Why is my crontab not working, and how can I troubleshoot it?' can be seen below.  This addresses the cron system with the crontab highlighted. At  there is this "only in ubuntu" that says "Built in virus protection":  What is the Ubuntu built it protection? What is the program in charge of this and how does it work? How can I find my hardware details? Is there any built-in software or terminal method allowing me to view the hardware profiles on my system? Windows equivalent of such a feature would be Device Manager. Because of a former error in our ASP.Net application, created by my predecessor and undiscovered for a long time, thousands of wrong URLs where created dynamically. The normal user did not notice it, but Google followed these links and crawled itself through these incorrect URLs, creating more and more wrong links.  To make it clearer, consider the url     example.com/folder   should create the link     example.com/folder/subfolder   but was creating     example.com/subfolder   instead. Because of bad url rewriting, this was accepted and by default showed the index page for any unknown url, creating more and more links like this.     example.com/subfolder/subfolder/....   The problem is resolved by now, but now I have thousands of 404 errors listed in the Google Webmaster Tools, which got discovered 1 or 2 years ago, and more keep coming up.  Unfortunately the links do not follow a common pattern that I could deny for crawling in the robots.txt.  Is there anything I can do to stop google from trying out those very old links and remove the already listed 404s from Webmaster Tools? How can I quickly get a player back into a session after their character dies? As a GM, what kind of techniques could I use to help a player re-join the gaming session after their character dies? I want to avoid any major interruptions to the flow of the adventure. I would also like to avoid having to end the session immediately or making them sit on the side-lines for the rest of the session. How to achieve function overloading in C? Is there any way to achieve function overloading in C? I am looking at simple functions to be overloaded like    foo (int a)   foo (char b)   foo (float c , int d)   I think there is no straight forward way; I'm looking for workarounds if any exist. I tried for a while to classifiy the singularities of $\frac{1}{z}-\frac{1}{\sin z}$ at the origin, but I am stucked. Is there someone who is able to help me at this point? Can't do comparison on PageReference In my page constructor I call a method isFirstPageLoaded, to  check if the loaded page is the first page of the wizard.   private final PageReference FIRSTPAGE = Page.Maintenance_Lock_1;   private void isFirstPageLoaded() {          if(ApexPages.currentPage()!=this.FIRSTPAGE) {              throw new MaintenanceLockException(this.FIRSTPAGE + ' --- ' + ApexPages.currentPage());          }      }   The problem is: Even if I open the first page of the wizard, the exception is thrown. How can I compare two PageReferences? I would like to avoid to parse the URLs and remove parameters etc... umask in RHEL 6 How can one set the executable bit on files using umask? According to documentation, a umask of 000 should work, but in practice this only works on directories.  Also open to other methods of automatically setting +rwx on a particular user's created files if you have any. Compound Adjectives and -ed A colleague asked me this question, and I couldn't come up with an answer that satisfied him, so I'm wondering if anyone can help:  Why does a man with a short temper become a short-tempered man? In other words, why do you need the -ed at the end?  Are there any special rules for this?