I am using the Modern CV Cover letter  but the hyphenation at the end of the line is not working. Here you have an  of the cover letter with text in English and you can see how the hyphenation does not work and a lot of space is wasted in the document. The problem persists even when adding \usepackage[english]{babel} in the preamble.  I have tried the solutions proposed  and , but they do not seem to work.
I am writing a cover letter and CV using moderncv. Everything works fine so far, but the text in the cover letter is not justified. I think it is good that it is not hyphenated, but it would look much nicer if the text was justified.  Here is a minimal example:  \documentclass{moderncv} \moderncvstyle{classic}  \usepackage{lipsum} % just for dummy text  \firstname{John} \familyname{Doe}  \begin{document} \recipient{Prof.\ Dr.\ Foo Bar}{} \opening{Dear Professor Dr.\ Bar,} \closing{Yours sincerely,} \enclosure[Attached]{curriculum vit\ae}  \makelettertitle \lipsum[1] \makeletterclosing  \clearpage  \makecvtitle  \section{Education} \cventry{2009--present}{PhD Student}{here}{and}{there}{} \end{document}
Is there a "sentence stretch" that acts horizontally in a similar way as \setstretch acts vertically? Getting the class name of an instance? What tense should I use after the conjunction 'lest'? Must it always be an infinitive? How can the Xenomorph see? If you just look at a picture of one there are no eyes readily apparent but they clearly know where they are going. Could their screeching be some form of echo-location? I need to refer to a model described elsewhere, from a section title, like  \section{Analysis of model X}    One way of referring to a model is to create a new counter, and then write  \section{Analysis of \cref{grandmodelofeverything}}   But now hyperref will complain because of invalid token, and it does not look good in the TOC either, especially since the titles of the sections the describe the models are more descriptive than  \section{Model 1}   They are currently like  \section{Adding the effect from Y processes}   Do I need to invent semi-descriptive long names like "The model by Authors with this modification" or can I live with these quirks? How can I do development on my Android device? I have a pretty long commute to work and own an android phone. I figure it would be nice to do some simple programming on the way. I'm not picky on which language to code on. I usually have an internet connection on the train.  I've been looking through the android market but haven't found any apps that offer a "development environment" or an editor with a compiler. Is any development ON the Android possible? Does an app for this exist? Boolean expression (grammar) parser in c++ My  has failed me.  In Python, are the following two tests for equality equivalent?  n = 5 # Test one. if n == 5:     print 'Yay!'  # Test two. if n is 5:     print 'Yay!'   Does this hold true for objects where you would be comparing instances (a list say)?  Okay, so this kind of answers my question:  L = [] L.append(1) if L == [1]:     print 'Yay!' # Holds true, but...  if L is [1]:     print 'Yay!' # Doesn't.   So == tests value where is tests to see if they are the same object? Prove $(a^2+b^2)(c^2+d^2)\ge (ac+bd)^2$ for all $a,b,c,d\in\mathbb{R}$. What is the percentage increase to any value when initial value is 0? This is a very simple maths problem, which doesn’t seems simple to me when I just put some extra thoughts on it. So need to borrow some extra brains for this.   Question: If cost of coffee in my office was Dollar 0 till yesterday and today it is Dollar 2.5 then what is the percentage increase in the cost of coffee?  Initially it seemed like 2.5% increase, simply by distributing number from 0 to 100, but this is not the case.   Some suggested it is infinitely more than the previous value, because we are calculating percentage by dividing by zero. But what about this if the cost of coffee was $0.25? Isn’t still infinitely more! Something is wrong here.   PS: Yes, coffee were free in our office but not anymore, and we are still recovering from this shocker. 😥 I recently changed my username to Undo. I was amazed when I pressed Submit and saw that it actually went through - surely someone somewhere was using this same username.  Out of curiosity, I then search the SO user list for Undo - and found  with Undo as thier name. They have 50 rep. I have around 1,500.   Is there some kind of pecking order, I.e. a high-rep user can 'steal' a low-rep user's name? Or is this a bug?  Or can two users have the same username without causing the SO servers to go down in a burning ring of fire? Evaluating logistic regression and interpretation of Hosmer-Lemeshow Goodness of Fit As we all know, there are 2 methods to evaluate the logistic regression model and they are testing very different things  Predictive power: Get a statistic that measures how well you can predict the dependent variable based on the independent variables. The well-known Pseudo R^2 are McFadden (1974) and Cox and Snell (1989).  Goodness-of-fit statistics The test is telling whether you could do even better by making the model more complicated, which is actually testing whether there are any non-linearities or interactions that you have missed.   I implemented both tests on my model, which added quadratic and interaction already:     &gt;summary(spec_q2)      Call:     glm(formula = result ~ Top + Right + Left + Bottom + I(Top^2) +       I(Left^2) + I(Bottom^2) + Top:Right + Top:Bottom + Right:Left,       family = binomial())       Coefficients:                  Estimate Std. Error z value Pr(&gt;|z|)         (Intercept)  0.955431   8.838584   0.108   0.9139         Top          0.311891   0.189793   1.643   0.1003         Right       -1.015460   0.502736  -2.020   0.0434 *       Left        -0.962143   0.431534  -2.230   0.0258 *       Bottom       0.198631   0.157242   1.263   0.2065         I(Top^2)    -0.003213   0.002114  -1.520   0.1285         I(Left^2)   -0.054258   0.008768  -6.188 6.09e-10 ***     I(Bottom^2)  0.003725   0.001782   2.091   0.0366 *       Top:Right    0.012290   0.007540   1.630   0.1031         Top:Bottom   0.004536   0.002880   1.575   0.1153         Right:Left  -0.044283   0.015983  -2.771   0.0056 **      ---     Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1     (Dispersion parameter for binomial family taken to be 1)     Null deviance: 3350.3  on 2799  degrees of freedom     Residual deviance: 1984.6  on 2789  degrees of freedom     AIC: 2006.6  and the predicted power is as below, the MaFadden is 0.4004, and the value between 0.2~0.4 should be taken to present very good fit of the model(Louviere et al (2000), Domenich and McFadden (1975))                                                :  &gt; PseudoR2(spec_q2)     McFadden     Adj.McFadden        Cox.Snell       Nagelkerke McKelvey.Zavoina           Effron            Count        Adj.Count     0.4076315        0.4004680        0.3859918        0.5531859        0.6144487        0.4616466        0.8489286        0.4712500           AIC    Corrected.AIC  2006.6179010     2006.7125925   and the goodness-of-fit statistics:  &gt; hoslem.test(result,phat,g=8)       Hosmer and Lemeshow goodness of fit (GOF) test    data:  result, phat   X-squared = 2800, df = 6, p-value &lt; 2.2e-16  As my understanding, GOF is actually testing the following null and alternative hypothesis:   H0: The models does not need interaction and non-linearity   H1: The models needs interaction and non-linearity  Since my models added interaction, non-linearity already and the p-value shows H0 should be rejected, so I came to the conclusion that my model needs interaction, non-linearity indeed. Hope my interpretation is correct and thanks for any advise in advance, thanks. What if my State / Country doesn't have a Ubuntu LoCo Team? How can I start one? I know what an Ubuntu Team is and , but what can users do if their area doesn't have a LoCo team? Intuition behind why order of a subgroup divides order of a group. find pair of numbers whose difference is an input value 'k' in an unsorted array delete vs delete[] operators in C++ How do I get my Python program to sleep for 50 milliseconds? What's usually the effective visual resolution of typical Hollywood Movies? I'm really surprised by the quality of the visuals in some new movies this year (2018). I'm curious to know in what resolution these cameras typically record to experience this quality on a cinema screen? Several times now I have inadvertently lost the .tex file that generated a PDF file with pdflatex. Given what I know of the internal structure of PDF files, it should be possible to embed a text file containing the original LaTeX file into the PDF file so that it can be extracted later.   I am aware of no technology for doing this, but perhaps you are. Does anybody have something like this? How can change in cost function be positive? In  it says     To make gradient descent work correctly, we need to choose the learning rate η to be small enough that Equation (9) is a good approximation. If we don't, we might end up with $\Delta C&gt;0$, which obviously would not be good! At the same time, we don't want $\eta$ to be too small, since that will make the changes $\Delta v$ tiny, and thus the gradient descent algorithm will work very slowly. In practical implementations, $\eta$ is often varied so that Equation (9) remains a good approximation, but the algorithm isn't too slow. We'll see later how this works.   But just a few paragraphs before we established that $\Delta C\approx−\eta\nabla C⋅\nabla C=−\eta\|\nabla C\|^2$ is obviously always negative (for positive $\eta$). So how can $\Delta C$ be positive if we don't choose a small enough learning rate? What is meant there?