My baby is 2 weeks old and cries a lot sudden, his grandma think it's because of tummy as he get pain in tummy and have they have started to give him drops of Liquorice extract water on a room temperature (which IMO is strange), how to know what is going on with my baby? As I hate grandma experiments on her.
my 4 week old daughter will not stop crying. We've tried everything from sucking, both on pacifiers and fingers to breastfeeding, white noise, movement, diaper is clean she doesn't seem to have a fever.   We've tried everything we can read about and think of.  We are both a little bit ill, the common cold and the baby may have gotten it and be upset but we are just at the end of our nerves when nothing helps our poor little one!   Does anyone know anything we can do to help?
terminal: non-english characters I used to be able to copy&amp;paste (or type if I load respective keyboard layout) any kind of characters (eg. é ö ñ ß و 好) in my console/terminal.  Now I bought a new computer and it does not work any more, only English/ASCII characters (but in other programs, e.g. firefox, it still works).  Distribution: Ubuntu. Terminals tried: gnome-terminal, xterm, konsole.  I tried  but after reboot echo $LANG still gives C. I also tried setting Character encoding to Unicode(UTF-8) in the gnome-terminal Terminal-menu - without effect.  Question: How can I get a terminal that is able to deal with non-English characters? How does quantization solve the ultraviolet catastrophe? I have a question pertaining to the concept of acceleration and it's formula - Both seem to give me different answers.  I was asked:     A train is moving at a velocity of $20\ \mathrm{m/s}$. It hits the breaks and starts slowing down at the rate of $8\ \mathrm{m/s^2}$. How long does it travel before coming to a stop?    $a=-8\ \mathrm{m/s^2}$ $u=20\ \mathrm{m/s}$ $v=0$ $s=?$ (Displacement is asked)   According to the formula of $s= \frac{(v^2-u^2)} {2a}$, answer I got was 25 meters.  BUT!  My concept of acceleration explains me this :    According to my intuition of acceleration and velocity, when  an object is said to be accelerating at $-8\ \mathrm{m/s^2}$, it means that with every passing second, it's velocity will reduce $8\ \mathrm{m/s}$. So,   At 1st second - Velocity = $20\ \mathrm{m/s}$ - It'll travel 20 meters. At 2nd second - $v = 20\ \mathrm{m/s}-8\ \mathrm{m/s}=12\ \mathrm{m/s}$ -  Train travels 12 meters At 3rd, it travels 4 meters. At 4th, it halts.   So total is 20+12+4 = 36 meters. It travels 36 meters before halt.  Where am I going wrong in my conceptual understanding, I really don't understand! How to compare the output of \ref to a number? I want to compare the output of \ref to a number in LaTeX. I thought it would be easy but after spending lots of hours surfing the net I still don't know the answer. I found similar questions on this site but I would prefer a solution that does not require another package to be included, so that I can see clearly how the \ref command (and some others) works. I tried a lot of things, some of which I share below, therefore my question is rather long, I'm sorry about that. First, I tried the following codes (the resulting error messages are shown after a % sign):  \begin{equation} \label{eq:myeq}   a=b   \end{equation}  \ifnum\ref{eq:myeq}=1 true\else false\fi % error: "Missing number, treated as zero."  \expandafter\ifnum\ref{eq:myeq}=1 true\else false\fi % error: "Missing number, treated as zero."  \edef\blabla{\ref{eq:myeq}} % error: Incomplete \iffalse; all text was ignored after line 42. \ifnum\blabla=1 true\else false\fi \expandafter\ifnum\blabla=1 true\else false\fi   Of course, \ref{eq:myeq} gave the expected result, namely 1.  Then, I found the definition of \ref using the latexdef ref command:       \ref:   macro:#1->\expandafter \@setref \csname r@#1\endcsname \@firstoftwo {#1}   Further examining \@setref and \firstoftwo, I concluded that the equation number (together with the page number) is stored in a control sequence called \r@eq:myeq. More precisely, the content of \r@eq:myeq is {1}{1} where the first number is the equation number and the second number is the page number. (The output of \expandafter{\csname r@eq:myeq\endcsname} is 11.) If I understand well, in order to obtain the equation number we have to expand \csname r@eq:myeq\endcsname by only two levels to get {1}{1} (the first level of expansion yields \r@eq:myeq), and then we choose the first argument by \@firstoftwo. Since there is no simple way to expand a control sequence by only one level, it is done in a rather circuitous (say tricky) way by \ref. This I could also reproduce by the following code:  \def\sth#1#2{\expandafter #2#1} \makeatletter \expandafter\sth\csname r@eq:myeq\endcsname\@firstoftwo \quad \ifnum1=\expandafter\sth\csname r@eq:myeq\endcsname\@firstoftwo true\else false\fi \makeatother   which resulted in 1   true. So far so good but there are still a few questions. First of all, if the above code works then why does the code with \ifnum1=\ref{eq:myeq}... fail (see above)? Seemingly, the two "algorithms" are doing the same. Second, the above code works only if the auxiliary file (with aux extension) contains the label definition. If it doesn't (the reference is undefined) then LaTeX gives the following error message: Missing number, treated as zero. How can I write a code that works even if the reference is undefined? Thank everybody who read all my above struggle and I would appreciate if someone shed light on the points that were not clear to me and who corrected me where I was wrong and confirmed where I was correct. Unfortunately the whole command syntax of (La)TeX is still very strange to me. Is tipping mandatory at Restaurants and Bars in Germany? I'm writing a sports management simulation game. Like most sport management games, it makes heavy use of statistics. I would like to use real players, teams and league names.  i) Am I running the risk of getting into legal battles if I should use the real names? ii) Also what about team colours and emblems etc?    Update Much thanks for all the input! Proving Eigenvalue squared is Eigenvalue of $A^2$ The question is: Prove that if $\lambda$ is an eigenvalue of a matrix A with corresponding eigenvector x, then $\lambda^2$ is an eigenvalue of $A^2$ with corresponding eigenvector x.  I assume I need to start with the equation $Ax=\lambda x$ and end up with $A^2 x=\lambda^2 x$ but between those I am kind of lost. I have manipulated the equations several different ways and just can't seem to end up where I need to be. Help would be greatly appreciated as I believe this will be on a test tomorrow. I'm playing around with a native (non-web) single-player game I'm writing, and it occured to me that having a daily/weekly/all-time online highscore list (think Xbox Live Leaderboard) would make the game much more interesting, adding some (small) amount of community and competition. However, I'm afraid people would see such a feature as an invitation to hacking, which would discourage regular players due to impossibly high scores.  I thought about the obvious ways of preventing such attempts (public/private key encryption, for example), but I've figured out reasonably simple ways hackers could circumvent all of my ideas (extracting the public key from the binary and thus sending fake encrypted scores, for example).  Have you ever implemented an online highscore list or leaderboard? Did you find a reasonably hacker-proof way of implementing this? If so, how did you do it? What are your experiences with hacking attempts? how to play wav file in python? DISCLAIMER: I do not deal with in-depth mathematics on a daily basis as some of you may, so please pardon my ignorance or lack of coherence on this topic.  QUESTION: What is the significance of starting the Fibonacci sequence with $0,1$ ?  For instance, if I picked any two random integers, say 2 and 7, to start a sequence would I actually be creating some multiple or derivation of the Fibonacci sequence?  Is there a general mathematical explanation for the relationship between any sequence represented by $a[0] = x, a[1] = y, a[n] = a[n-1] + a[n-2]$ and the Fibonacci sequence?  Or, back to my example sequence, is there a general mathematical relationship between:  $2,7,9,16,25,41,66,107,173,280...$  and  $0,1,1,2,3,5,8,13,21,34...$  Perhaps the Golden Ratio explains it somehow?  Any help would be appreciated. How do I efficiently compute $a^b\bmod c$:  When $b$ is huge, for instance $5^{844325}\bmod 21$? When $b$ is less than $c$ but it would still be a lot of work to multiply $a$ by itself $b$ times, for instance $5^{69}\bmod 101$? When $(a,c)\ne1$, for instance $6^{103}\bmod 14$?  Are there any other tricks for evaluating exponents in modular arithmetic?  This is being asked in an effort to cut down on duplicates, see  and . how to sort file by DD-MM-YYYY dates in a file containing :  ... 18-11-2018:othercharacters 10-11-2018:othercharacters 03-10-2018:othercharacters 30-10-2018:othercharacters 27-09-2018:othercharacters 03-12-2018:othercharacters ...   the command :  sort -t- -k2 -k1    does not sort by date, what am I missing ? Allow questions to be saved as drafts prior to posting ETS() function, how to avoid forecast not in line with historical data? I am working on an alogorithm in R to automatize a monthly forecast calculation. I am using, among others, the ets() function from the forecast package to calculate forecast. It is working very well.  Unfortunately, for some specific time series, the result I get is weird.  Please, find below the code i am using :  train_ts&lt;- ts(values, frequency=12) fit2&lt;-ets(train_ts, model="ZZZ", damped=TRUE, alpha=NULL, beta=NULL, gamma=NULL,              phi=NULL, additive.only=FALSE, lambda=TRUE,              lower=c(0.0001,0.0001,0.0001,0.8),upper=c(0.9999,0.9999,0.9999,0.98),              opt.crit=c("lik","amse","mse","sigma","mae"), nmse=3,              bounds=c("both","usual","admissible"), ic=c("aicc","aic","bic"),             restrict=TRUE)   ets &lt;- forecast(fit2,h=forecasthorizon,method ='ets')      Please, you will find below the concerned history data set :   values &lt;- c(27, 27, 7, 24, 39, 40, 24, 45, 36, 37, 31, 47, 16, 24, 6, 21,  35, 36, 21, 40, 32, 33, 27, 42, 14, 21, 5, 19, 31, 32, 19, 36,  29, 29, 24, 42, 15, 24, 21)   Here, on the graph, you will see the historical data (black), the fitted value (green) and the forecast(blue). The forecast is definitely not in lines with the fitted value.  Do you have any idea on how to "bound" the forecat to be "in line" with the historical sales? Why do I need 50 reputation to comment? What can I do instead? Users with less than 50 reputation points cannot write comments on questions and answers that they don't own.  Why does this limit exist? But I want to contribute now. What should I do instead? But I can't write a good answer without more information! Shouldn't I be allowed to post comments if I have reputation on a different site? But I saw a new user posting a comment! How did they do it? Why do I need 50 reputation to comment on my own post?   See also:    in the Help Center I'm working on this problem already, the domain and co-domain are the set of Rational Numbers. we see that setting $x = 1$ and $y = n$, we obtain $f(n + 1) = f(n) + 1$  But I'm trying to prove that $f(n) = n + 1$ for all $n$, the case when $n = 1, 2$ is obviously true, how do I approach this via induction? Using latexdiff with git Overloading getter and setter causes a stack overflow in C# Renaming user name I made a mistake in the username at the time of installation. So I changed the name of the user after logging in by creating a guest account with SUDO rights. But when I checked the list of users using ls /home command I am not seeing the new name for the user instead Old name is appearing. But I use the new name to login.   Is it like I need to change the name inside Home directory separately? Also , if there is any other changes needs to be done .. ? Helping someone climb I know this is kinda stupid but what is the word for "helping someone climb by allowing him to stand on your hands" (to allow him/her see above some wall or climb something)?