Book recommendation for nonequilibrium thermo/stat mech
Modern textbook on statistical field theory with an emphasis on applications to non-equilibrium phenomena?
How to give a medicine with really bad taste My 4 year old daughter recently have scarlet fever. It seems antibiotics are non-negociable for it, and since she has great chance of being allergic to Penicillin, there is only one antibiotic she can get. It is not the first time we have to give it to her, and probably not the last time.  Apparently, that medicine tastes really REALLY bad. She cries a lot, panics every time we say it's time for this medicine, and vomit it most of the time, resulting in even more medicine being force into her mouth.  It is only this medicine that causes problem. She does not tantrum for other medicine, and most of them, she can take the dose we give her all by herself.  We tried reassuring her, explaining why it is mandatory to get it, explaining it will make the scarlet fever go away. We tried mixing it into other food (which seems clearly worse, taste-wise). We tried asking her to take her herself. It seems we tried everything, and the only thing that achieve it for the moment is actually forcing it into her.  We really do not want to force her in any way. Her mother cried yesterday because we had to force her, and we need to do it twice a day. It is very exhausting, and we would welcome any input or new ideas on how to give her this really bad tasting medicine to her.  EDIT : For clarification, it is a liquid medicine that is administrated with a syringe. It seems there are no alternative, although we will check with the doctor again (particularly if pills are available) How do I remap the Caps Lock and Ctrl keys? I'd like to remap my keys such that Ctrl behaves as the Caps Lock key and vice-versa. Also, if possible I'd like the settings to be available only within the currently logged-in user. How can I achieve this?  I'm a vim user, unlike the other people who use this machine, so I'd like those settings only for my account. Standardize Training and Validation Data How to add D-link dwm-156 to usb switch mode for automatic eject of driver CD / switch to modem mode? I am running Ubuntu 13.10, 32-bit.  I had every time need to go terminal to "eject" the windows driver CD,nor gone to disk &amp; eject windows driver CD to make the d-link dwm-156 gsm modem functioning through network manager.  It seems that usb mode switch is not working.  But on my friend's computer with ubuntu 14.04 ,usb mode switch is working and i can connect d-link dwm-156 to mobile broadband through network manager as soon as i get in.  Is there any way to make usb mode switch to eject the windows driver CD of d-link dwm-156 in my ubuntu 13.10,32-bit at start up?   The lsusb output is Bus 002 Device 013: ID 2001:a706 D-Link Corp before ejecting the CD (modem as storage device of windows driver).  The lsusb output is Bus 002 Device 005: ID 2001:7d01 D-Link Corp after ejecting the CD (as modem).   I don't want to use the driver in the CD,as i need to send sms &amp; find the data usage. How can I use ranges in a switch case statement using JavaScript? Is anti-gravity (i.e. repulsive gravity) possible in theoretical physics? Is  (i.e. repulsive gravity) possible in string theory?  I have read some articles about scientists making assumptions about the existence of anti-gravity, but is it possible in string theory? Defining new unit (year, century) in siunitx I'm having a hard time figuring out the LaTeX commands to define new units of year and century in siunitx.  I'd like to write \SI{3}{\cm\per\year} and have it show: 3 cm yr-1, or \SI{42}{\micro\meter\per\century} become 4.2E-5 m/century I'm looking to download and install the latest version of Ubuntu to replace the current version of Windows I had pre-installed on my machine when bought it.   I have some really neat features on the machine that I really am hoping will still work when I move over to Ubuntu.  Can someone please confirm if the below will still work and, if not, how I can get them to work:   The USB ports on my machine The ethernet or Network work port on the machine The HDMI output on the machine and finally, the built in webcam   Thanks Sam "My wife and I's seafood collaboration dinner" I just stumbled upon a :     My wife and I's seafood collaboration dinner. How does it look?   Sure enough, the top comment immediately points out that it should be "my wife's and my". However, a cross-post to the Grammar subreddit produced :     It's fine as it is written. "my wife and I" is a noun phrase, functioning as a subjective pronoun in the singular and made possessive with the apostrophe. It is exactly the same as "our".      It seems weird because you would never use "I's" on its own but it is not on its own here - it is part of a noun phrase.   That's a rather intriguing argument. Does it hold any water? Prove that $\sum_{n=0}^\infty \frac{(-1)^n}{3n+1} = \frac{\pi}{3\sqrt{3}}+\frac{\log 2}{3}$ Is there a test for the different styles within maths mode?  What I really want is to be able to save the current style to reinvoke it later on, but a \if along the lines of \ifmmode would work just as well.  In the specific example, I want to measure how big something will be when displayed in maths mode, so I do:  \settoheight{\mathheight}{some bit of maths}   except that it complains because the some bit of maths gets put in a box and measured, and the box doesn't know that it's maths.  So instead I put:  \settoheight{\mathheight}{\(some bit of maths\)}   except that then I get the wrong answer if this is used in displayed maths.  So ideally, I want:  \ifdisplaystyle  \let\currentstyle\displaystyle \else  \iftextstyle   \let\currentstyle\textstyle  ...  \fi \fi \settoheight{\mathheight}{\(\currentstyle some bit of maths\)}   and then I'll be happy.  Is there such a test?    Okay, so \mathchoice is clearly the way to go (thanks Martin!), but its behaviour is a little odd and since I want to use it to define a macro depending on which mode I'm in, this oddity is quite important.  Here's the code:  \newcommand{\mathtest}{% \gdef\name{a}% \mathchoice{% \name \gdef\name{b}% }{% \name \gdef\name{c}% }{% \name \gdef\name{d}% }{% \name \gdef\name{e}% }% \name}  \[ \mathtest \]   If \mathchoice behaved like \if, this ought to print ab.  But it prints ae.  All the options to \mathchoice get processed (which makes me wonder a bit how it works, but that's by-the-by).  So, is there an obvious way to make \mathchoice behave a little more like \if? How to fix "Package is in a very bad inconsistent state" error? I can't update my system because it freezes while installing a third-party update (zramswap-enabler)! Sometimes I get the following message in Update manager:  Could not initialize the package information An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: E:The package zramswap-enabler needs to be reinstalled, but I can't find an archive for it.  I tried to remove the zramswap-enabler, but it's impossible because I get the following message: dpkg: error processing zramswap-enabler (--remove):  Package is in a very bad inconsistent state - you should  reinstall it before attempting a removal. Errors were encountered while processing:  zramswap-enabler E: Sub-process /usr/bin/dpkg returned an error code (1)  Actually I would really reinstall that package, but it is unable to do it! If I remove this third-party PPA then the system is warning me about a very very serious problem. So why can I not install/reinstall/remove/update this package and why freezes the updater if I try to update? If the cricket ground Lord's is a possessive, what if you want to describe something belonging to Lord's? Would you say:     I was very impressed by Lord's's customer services.   It doesn't look right, so what is the correct way of writing it? valueOf() vs. toString() in Javascript SOQL results returning RecordTypeId which is not included in query I am running this script from developer console.  List&lt;Account&gt; lstAccount = [SELECT Id, Name, BillingStreet From Account LIMIT 1]; System.debug(lstAccount);   Debug Log:     23:47:04:012 USER_DEBUG [5]|DEBUG|(Account:{Id=0019000001nNLGEAA4, Name=Acct_nm001, BillingStreet=xyz Road, RecordTypeId=01290000000iaNiAAI})   I never queried for RecordtypeId in SOQL, but it is included in the list.  Although, if I run the query from the query editor, it is not showing RecordtypeId column.   Is this by design? Then why not Salesforce is not providing us audit fields in the first scenario. Support for OpenID ended on July 25, 2018 How can I search in another language? How to do the port forwarding from one ip to another ip in same network? I would like do some NAT in iptables. So that, all the packets coming to 192.168.12.87 and port 80 will be forwarded to 192.168.12.77 port 80.  How to do this with iptables?  Or   Any other ways to achieve the same? I want to plot this graph, but I don't know how to code the words in the nodes.     Here is my code:  \documentclass{article} \usepackage{amsmath} \usepackage{titletoc} \usepackage{tikz} \usetikzlibrary{trees,positioning,fit}  \begin{document}{\allowdisplaybreaks[4]}  \tikzstyle{bag} = [text width=2em, text centered] \tikzstyle{end} = []  \begin{center} \begin{tikzpicture}[sloped] \node (a) at ( 0,0) [bag] {$\ln r_0$}; \node (b1) at ( 3,1.5) [bag] {$\ln r_{10} + \sigma_1\sqrt{\Delta t_1}$}; \node (b2) at ( 3,-1.5) [bag] {$\ln r_{10}$}; \node (c1) at ( 6,3) [bag] {$\ln r_{20} + 2\sigma_2\sqrt{\Delta t_2}$}; \node (c2) at ( 6,1.5) [bag] {$\textrm{Mean} = \ln r_{20} + \dfrac{3}{2}\sigma_2\sqrt{\Delta t_2}$\\$\textrm{Mean Change} = \mu_{11}\Delta t_2 = \ln\dfrac{r_{20}}{r_{10}} + \dfrac{3}{2}\sigma_2\sqrt{\Delta t_2} - \sigma_1\sqrt{\Delta t_1}$}; \node (c3) at ( 6,0) [bag] {$\ln r_{20} + \sigma_2\sqrt{\Delta t_2}$}; \node (c4) at ( 6,-1.5) [bag] {$\textrm{Mean} = \ln r_{20} + \dfrac{3}{2}\sigma_2\sqrt{\Delta t_2}$\\$\textrm{Mean Change} = \mu_{11}\Delta t_2 = \ln\dfrac{r_{20}}{r_{10}} + \dfrac{3}{2}\sigma_2\sqrt{\Delta t_2} - \sigma_1\sqrt{\Delta t_1}$}; \node (c5) at ( 6,-3) [bag] {$\ln r_{20}$}; \draw [-&gt;] (a) to node [below] {} (b1); \draw [-&gt;] (a) to node [above] {} (b2); \draw [-&gt;] (b1) to node [below] {} (c1); \draw [-&gt;] (b1) to node [below] {} (c2); \draw [-&gt;] (b1) to node [below] {} (c3); \draw [-&gt;] (b2) to node [below] {} (c3); \draw [-&gt;] (b2) to node [below] {} (c4); \draw [-&gt;] (b2) to node [below] {} (c5); \end{tikzpicture} \end{center}  \end{document}       Update code use  \draw [-&gt;] (a) to node [below] {} (b1.south east); \draw [-&gt;] (a) to node [above] {} (b2.north east); \draw [-&gt;] (b1.south east) to node [below] {} (c1.west); \draw [-&gt;] (b1.south east) to node [below] {} (c2.west); \draw [-&gt;] (b1.south east) to node [below] {} (c3.west); \draw [-&gt;] (b2.north east) to node [below] {} (c3.west); \draw [-&gt;] (b2.north east) to node [below] {} (c4.west); \draw [-&gt;] (b2.north east) to node [below] {} (c5.west); How to render lightning in Cycles How can you render a lightning bolt using Cycles?