Convert constant of gravitation to days and AUs
Units in gravitational $N$ body simulations
crisscross, dillydally, riffraff, etc Nopagebreak nopagebreak nopagebreak - why won't LaTeX listen to me? Fun times, I'm making a (manual) index of the lecture slides for class (which are nowhere near latex, ppt files yay) and of course Latex insists on placing pagebreaks willie nillie through my items. Why isn't there a "keep (paragraph) with next (paragraph)" option like there is in Word 2007 (and all others I think). Is Word really more powerful than Latex [when it comes to this specific attribute of paragraph flow]?  *full page before here* Knowledge in the \nopagebreak\\ \nopagebreak \nopagebreak - Head   Results in   *full page* Knowledge in the  ---8&lt;--- Next page - Head ...    Yes, I know I can place a \newpage before the line to push it to the next page, but there has to [HAS TO] be a way to make Latex understand that this isn't what I want, these two lines are supposed to stick together!   Edit: Full context:   *empty line* Knowledge in the \\ - Head \slid{44, 69} - World \slid{5, \textbf{44}, 66, 69, 84} *empty line*   With slid being:   \newcommand{\slid}[1]{\dotfill #1 \nopagebreak\\}   It seems to be to be that the -World line is pulling down the -Head line, if I add an empty line between them, both Knowledge.. and -Head stay on the same page, with -World on the next one. But when I combine the two, only -Head gets pulled to a new page, and Knowledge... stays on the previous page. Default constructor with empty brackets Is there any good reason that an empty set of round brackets (parentheses) isn't valid for calling the default constructor in C++?  MyObject  object;  // ok - default ctor MyObject  object(blah); // ok  MyObject  object();  // error   I seem to type "()" automatically everytime. Is there a good reason this isn't allowed? How to install HPLIP on my Ubuntu to support my HP printer and/or scanner? Let's assume that one has some HP printer and/or scanner and checked its support status on the corresponding page of HPLIP site - .  So one have the following information: the device Model name, Min. HPLIP Version and Driver Plug-in need.   What should one install to make Ubuntu fully support the HP printer and/or scanner? I am in the process of updating my CV. Since I often get labeled as "the bioinformatician" I get to play with many different languages and technologies, and similarly what people expect from a bioinformatician varies from person to person. So I figured it would be a good idea to indicate how much I feel I know in respective fields/languages.  Inspired by , I came to wonder whether or not its acceptable to have self-assessed ratings of your technical skills, such as: proficiency programming languages, familiarity with relevant software etc.   My own feeling is that such ratings are useful to indicate what you feel most confident or comfortable with. It would also be useful to show any potential future employer the level of competence you have in different fields. If you think about it a bit, it is common to have some type of rating for the languages one speaks, so I think an analogue to programming language proficiency should not be that alienating.  On the other hand there is the risk of rendering your CV like, as a friend of mine put it, a role-playing game character sheet.   Is it common to have such ratings on skills? Are there any potential problems with it?   Edit: What I was thinking is a small listing something like: Construction of a right triangle It's a high school level question which we can't seem to solve. Here it is:      Given $2$ lines, one of the length of the hypotenuse and the other with the length of the sum of the $2$ legs, construct with straightedge and compass the corresponding right triangle   I didn't make much progress. It seems that there's a theorem or a few basic facts about right triangles that I'm missing. What path do you suggest I take?  Thanks for your help. Happened on , fwiw. In particular I voted to reject it, then visited to add comment and vote to close, and wanted to add a  tag, but couldn't because had to wait to see the fate of the edit. Apply a string replacement on the citation as returned by \cite I have biblatex with options  \usepackage[backend=bibtex, style=authoryear]{biblatex}   The citations made with \cite look like this: Smith, 2019 or Smith and Baker, 2019 and so on. I would like to define a command that automatically replaces the occurrence of my name with my initials. Namely I need  \cite{SmithsPaper}  % --&gt; Smith, 2019 \cite{MyPaper}      % --&gt; Manny, 2019 %%% \newcite{SmithsPaper}  % --&gt; Smith, 2019 \newcite{MyPaper}      % --&gt; MC, 2019   I have tried with the package xstring to do something like  \newcommand{\newcite}[1]{%   \begingroup   \edef\@temp{\cite{#1}}%   \StrSubstitute{\@temp}{Manny}{MC}   \endgroup }   The problem is that I can't figure out how to tell LaTeX to expand \cite{#1}. As a result the citation comes out without the replacement. If I change \cite{#1} by simply #1 and I call \newcite{bla Manny bla} it gives bla MC bla as expected.  It shouldn't be relevant but I'm using this within the beamer documentclass. Insert a paragraph into a list that uses the whole text width What's wrong if I fit the auto-regression with OLS? I am doing auto-regress by usual linear regression package. e.g.  $y_t=φx+ε_t$ with $x =y_{t-1}$  My reason is that, Auto-regression does assumes iid errors, same for linear regression. Linear Regression doesn't have assumption on independent variables. What's different is merely that the independent variables is replaced with lagged dependent variable y.  But I see AR always is fitted by specific methods, I am afraid I'm doing wrong. Why shouldn't I care what model/make/year my bicycle is? Many introductory quantum mechanics textbooks include simple exercises on computing the de Broglie wavelength of macroscopic objects, often contrasting the results with that of a proton, etc.  For instance, this example, taken from a textbook:     Calculate the de Broglie wavelength for      (a) a proton of kinetic energy 70 MeV      (b) a 100 g bullet moving at 900 m/s   The pedagogical motivation behind these questions is obvious: when the de Broglie wavelength is small compared to the size of an object, the wave behaviour of the object is undetectable.  But what is the validity of the actual approach of applying the formula naively? Of course, a 100g bullet is not a fundamental object of 100g but a lattice of some $10^{23}$ atoms bound by the electromagnetic force. But is the naive answer close to the actual one (i.e. within an order of magnitude or two)? How does one even calculate the de Broglie wavelength for a many body system accurately? Python 3 with QGIS on Mac? I need to start learning Python, and I want to learn with version 3.x. I understand that QGIS--at least some plug-ins--relies on Python and Tcl/Tk, and probably on specific versions. Assuming that QGIS is dependent on Python 2, can anyone tell me how to set up parallel installations of Python 3 and Tcl/Tk such that QGIS will have what it needs and I can use Python 3 for other purposes? Provide a means to reward users and their answers (decoupled from bounties) Differential form is closed if the integral over a curve is rational number. The following problem comes from do Carmo's book Differential Forms and Applications, Chapter 2, Exercise 4:  Let $\omega$ be a differentiable 1-from defined on an open subset $U\subset \mathbb{R}^n$. Assume that for each closed differential curve $C$ in $C$, $\int_C \omega$ is a rational number. Prove that $\omega$ is closed.   Can anyone give some hints? My idea was that we could try to show the integral vanishes if the curve lies in $N_\epsilon (p)$ (i.e. a small neighborhood around $p$) for any $p$ in $U$ and use the Poincare Lemma, but failed. Is it possible to show a screensaver on a secondary monitor while using the primary monitor? I have an iMac with a large format display set up as a secondary monitor that we use as a television for watching movies.  When I am just using the iMac, I would like for the secondary display to display something interesting rather than just the wallpaper.  Is it possible to set up a screensaver that appears on the second monitor (I really like the iPhoto slideshow) while allowing me to use the primary iMac monitor?  I would even be happy if it wasn't technically a screen saver, but just any sort of slideshow that could be displayed on one monitor while I work on the other.  Currently if I play a slideshow in iPhoto, the other monitor goes blank. :( Trying to identify pre-1970s short story involving multiple humans absorbed into an alien blob Is "until" inclusive or exclusive? I sent an email to someone and got an auto-reply saying:     I am out of the office until 09/15/2014.   Does this mean he will be available on the morning of the 15th? Change the location of .bashrc Is it possible to change the location of .bashrc from /home/orhanc/.bashrc to some other directory? How do I install Ubuntu 16.04 from an SD card? Could someone explain how to install Ubuntu from an SD card? I don't have any CDs or USB sticks around. My current operating system is Windows 10 64 bit.