Losing mind over potty training!
What to do when my 3-year-old holds poop in and won't go in diaper or on potty?
I was trying to install Lightworks 11.5.1 (amd64) on Ubuntu 14.04(amd64) but there's a notice: Dependency is not satisfiable: libtiff4. Is there anyway to solve this dependency issue?  Thanks in advance. Why do I get different outputs in case of sh and bash? I write financial applications where I constantly battle the decision to use a double vs using a decimal.  All of my math works on numbers with no more than 5 decimal places and are not larger than ~100,000. I have a feeling that all of these can be represented as doubles anyways without rounding error, but have never been sure.  I would go ahead and make the switch from decimals to doubles for the obvious speed advantage, except that at the end of the day, I still use the ToString method to transmit prices to exchanges, and need to make sure it always outputs the number I expect. (89.99 instead of 89.99000000001)  Questions:   Is the speed advantage really as large as naive tests suggest? (~100 times) Is there a way to guarantee the output from ToString to be what I want? Is this assured by the fact that my number is always representable?   UPDATE: I have to process ~ 10 billion price updates before my app can run, and I have implemented with decimal right now for the obvious protective reasons, but it takes ~3 hours just to turn on, doubles would dramatically reduce my turn on time. Is there a safe way to do it with doubles? Why are we limited to six questions per day? I tried to find a topic here on this (possible problem) but I didn't.   I reported it at  but Tim Hoffmann pointed me that it is not a problem of editor. After tested with nano and pdflatex I'm posting here.  The minimal code produces errors. OK, we can solve it using \\{}.   But is this a problem with TeXlive 2014 or there are some good reasons to have that behavior.  \documentclass{report} \begin{document} test\\ [foo]  test\linebreak [foo]  test\newline [foo] \end{document}      ! Missing number, treated as zero.                        f l.3 test\ [foo] Gel circular polarising filter I am contemplating buying a lens that only takes rear gel filters. Is it possible to buy a circular polarising filter in gel format? If so, who can supply them (preferably UK based)? Prove that there is no retraction (i.e. continuous function constant on the codomain) $r: M \rightarrow S^1 = \partial M$ where $M$ is the Möbius strip.  I've tried to find a contradiction using $r_*$ homomorphism between the fundamental groups, but they are both $\mathbb{Z}$ and nothing seems to go wrong... I know that to execute a file, I use the . command, then the file name with a space between them. But I'm trying to execute a .jar file using the . and it does not work. I went into the properties and marked it as executable and made it run with Java.   Is there a way to execute a file with Java in the Bash Terminal?    I am trying to execute the Minecraft.jar file. "wait more than" vs. "wait FOR more than" Landscape figure in LaTeX I have a figure I'm trying to insert which is in landscape and I'm using the following (snipped) code:  \documentclass[12pt, oneside]{book} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{lscape} \usepackage{rotating} \usepackage{epstopdf}  \begin{document}  \begin{figure}[ht]     \includegraphics{../figures/pics/DivLibPropProfile}     \caption{Property profile of the diverse library compared to the compound pool.}     \label{fig:PropProf} \end{figure}  \end{document}   When I compile this with pdfLaTeX the output behaves as I'd expect – page in portrait with the caption at the bottom but the figure in the "wrong" orientation.  However when I compile using LaTeX, the page is turned landscape with the figure now in the correct orientation but with the caption at what is now the left of the page rather than under the figure, which you should get using \begin{landscape}.    When I do use the landscape environment and compile with LaTeX the caption the whole page is turned upside-down and everything is wrong.  Any ideas how I can get the correct orientation of landscape figure on landscape page with the caption under the  (attached for reference)?  I also need to use LaTeX rather that pdfLaTeX for another package to function. Does it make a difference to CP if you feed candies before or after evolving? Which is better to do client side or server side validation?  In our situation we are using    jQuery and MVC.   JSON data to pass between our View and Controller.     A lot of the validation I do is validating data as users enter it. For example I use the the keypress event to prevent letters in a text box, set a max number of characters and that a number is with in a range.   I guess the better question would be, Are there any benefits to doing server side validation over client side?    Awesome answers everyone. The website that we have is password protected and for a small user base(&lt;50). If they are not running JavaScript we will send ninjas. But if we were designing a site for everyone one I'd agree to do validation on both sides. How do I add custom validations to Webform? I have created the country and state fields with the Webform module, and I want to add a field validation for the state field when user select US as country.   How can I achieve this? "24 hours' notice" or "24 hours notice"? Which one is correct?  1: Well, you canceled on Tuesday and our policy is 24 hours' notice for all cancellations. 2: Well, you canceled on Tuesday and our policy is 24 hours notice for all cancellations.  To me personally, the first one makes more sense grammatically. But I've also heard that the second version is how they typically write it on paper forms at hospitals (that's what native speakers say). Could you please clarify my confusion? Enable replace image feature in LibreOffice Map display not filling window in QGIS on Mac? In this screenshot of QGIS, you can see that the map is not filling the window. I have tried resizing the window in various ways.   Am I missing something obvious, or is this a bug?  Versions:   MacBook Pro MacOS High Sierra 10.13.5 QGIS version 3.2.1-Bonn QGIS code branch Release 3.2 Compiled against Qt 5.9.6 Running against Qt 5.9.6 Compiled against GDAL/OGR 2.2.4 Running against GDAL/OGR 2.2.4 Compiled against GEOS 3.6.2-CAPI-1.10.2 Running against GEOS 3.6.2-CAPI-1.10.2 4d2925d6 PostgreSQL Client Version 9.6.6 SpatiaLite Version 4.4.0-RC0 QWT Version 6.1.3 QScintilla2 Version 2.10.7 PROJ.4 Version 493 Python 3.6.6 Case-sensitive Google search Is there any way to make a Google search case-sensitive? GLR Test for 2 samples from exponential distributions Unzip a file with php I'm having difficulty with exercise 1.43 of Lang's Algebra. The question states     Let $H$ be a subgroup of a finite abelian group $G$. Show that $G$ has a subgroup that is isomorphic to $G/H$.   Thinking about this for a bit, the only reasonable approach I could think of was to construct some surjective homomorphism $\phi\colon G\to K$ for $K\leq G$, and $\ker\phi=H$, and then just use the isomorphism theorems to get the result.  After a while of trying, I've failed to come up with a good map, since $H$ seems so arbitrary. I'm curious, how can one construct the desired homomorphism? This is just the approach I thought of, if there's a better one, I wouldn't mind seeing that either/instead. Thank you.