Problem with using Glossaries package
How do I update my TeX distribution?
Shortcuts in Objective-C to concatenate NSStrings Boolean variable returns as string from javascript function Can an abstract class have a constructor?  If so, how can it be used and for what purposes? Integration of exponential and square root function Do's and Don't's of Undergraduate Research I was fortunate enough to get a position as a researcher for the Mayo Clinic's SURF Program this year. My PI's lab focus is on the the immune system's role in CNS axonal and neuronal injury, specifically through the lens of how innate and adaptive immune effectors interact w/ infected neurons.  Although I do research under a professor at my college and I volunteered for a state university lab during the previous summer, this is my first REU/SURF opportunity, and I REALLY want to make a good impression. Here are my questions:  What are the do's and don't's in terms of being a skilled and efficient researcher?  Since I am still an undergrad, I know that I will be a less useful asset to the lab than a grad student or post-doc, but what can I do as an undergrad to not burden my colleagues and PI?  Thank you all for your help! Wishing you all the very best! I am using \tableofcontents to create TOC in my document. however it is appearing as shown in the image. As the numbers increase the gap between the number and text is reducing.   Thanks for your help Aku I am trying to render this scene above [Snap-shot 1]. But when i am trying to render the scene, its showing me the result [Snap-shot 2]. Whats wrong with my blender [2.72] How to produce a longer \sim with a small letter on top Unable to 'apt-get dist-upgrade' due to appstreamcli database error I have created a USB stick with a persistent Ubuntu 16.04 (release version). I tried a couple of ways, using Startup Disk Creator and MultiSystem, but I get the same end result.  When I boot into the USB and do 'apt-get update', all is well.  When I try 'apt-get dist-upgrade' I get:     ** (appstreamcli:2761): CRITICAL **: Error while moving old database out of the way. AppStream cache update failed.   The only reference to this error message I can find is  but would appear to be fixed, at least fixed by the time the release version of Ubuntu 16.04.  Aside: I want to test Unity8, which includes installing software.  I don't have a spare computer, so I thought a persistent USB would do the trick.  Any takers? Solving "MySQL server has gone away", mysql error 2006 Training on the full dataset after cross-validation? TL:DR: Is it ever a good idea to train an ML model on all the data available before shipping it to production? Put another way, is it ever ok to train on all data available and not check if the model overfits, or get a final read of the expected performance of the model?    Say I have a family of models parametrized by $\alpha$. I can do a search (e.g. a grid search) on $\alpha$ by, for example, running k-fold cross-validation for each candidate.   The point of using cross-validation for choosing $\alpha$ is that I can check if a learned model $\beta_i$ for that particular $\alpha_i$ had e.g. overfit, by testing it on the "unseen data" in each CV iteration (a validation set). After iterating through all $\alpha_i$'s, I could then choose a model $\beta_{\alpha^*}$ learned for the parameters $\alpha^*$ that seemed to do best on the grid search, e.g. on average across all folds.  Now, say that after model selection I would like to use all the the data that I have available in an attempt to ship the best possible model in production.  For this, I could use the parameters $\alpha^*$ that I chose via grid search with cross-validation, and then, after training the model on the full ($F$) dataset, I would a get a single new learned model $\beta^{F}_{\alpha^*}$   The problem is that, if I use my entire dataset for training,  I can't reliably check if this new learned model $\beta^{F}_{\alpha^*}$ overfits or how it may perform on unseen data. So is this at all good practice? What is a good way to think about this problem? How to trigger a warning when a certain function is called (not compiled)? ensurepip is disabled in Debian/Ubuntu for the system python I am trying to make a virtual environment for the development of my Django application. The commando's which I am using:   vagrant@vagrant:/var/www/djangogirls$ python3 -m venv myvenv The virtual environment was not created successfully because ensurepip is not available.  On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.      apt-get install python3-venv  You may need to use sudo with that command.  After installing the python3-venv package, recreate your virtual environment.  Failing command: ['/var/www/djangogirls/myvenv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']   vagrant@vagrant:/var/www/djangogirls$ sudo apt-get install python3-venv Reading package lists... Done Building dependency tree        Reading state information... Done python3-venv is already the newest version (3.5.1-3). The following packages were automatically installed and are no longer required:   javascript-common libjs-jquery libjs-sphinxdoc libjs-underscore python-pbr python-pkg-resources   python-six python-stevedore python3-virtualenv virtualenv virtualenv-clone Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 108 not upgraded.  vagrant@vagrant:/var/www/djangogirls$ python3 -m ensurepip ensurepip is disabled in Debian/Ubuntu for the system python.  Python modules for the system python are usually handled by dpkg and apt-get.      apt-get install python-&lt;module name&gt;  Install the python-pip package to use pip itself.  Using pip together with the system python might have unexpected results for any system installed module, so use it on your own risk, or make sure to only use it in virtual environments.   vagrant@vagrant:/var/www/djangogirls$ rm -r myvenv/   vagrant@vagrant:/var/www/djangogirls$ python3 -m venv myvenv The virtual environment was not created successfully because ensurepip is not available.  On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.      apt-get install python3-venv  You may need to use sudo with that command.  After installing the python3-venv package, recreate your virtual environment.  Failing command: ['/var/www/djangogirls/myvenv/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']   As you can see, I am trying to make a myvenv, which cannot be created due to the python3-venv missing. I have already installed this, but the ensure pip is missing. After searching it seems that the system (Ubuntu 16.04) discourages the usage of the package. Could someone help me work around this problem? Limit of function of hyperbolic How can I - without using derivatives - find the limit of the function  $f(x)=\frac{1}{\cosh(x)}+\log \left(\frac{\cosh(x)}{1+\cosh(x)} \right)$  as $x \to \infty$ and as $x \to -\infty$?  We know that $\cosh(x) \to \infty$ as $x \to \pm \infty$ thus $\frac{1}{\cosh(x)} \to 0$ as $x \to \pm \infty$.  And I imagine that $\frac{\cosh(x)}{1+\cosh(x)} \to 1$ as $x \to \pm \infty$ thus $\log\left(\frac{\cosh(x)}{1+\cosh(x)}\right) \to 0$ as $x \to \pm \infty$.  Is this approach sufficiently formal?  Any help is appreciated. How to construct a pyramid in blender but the edges of the triangles to be equal? How to make a pyramid in blender and all the edges to be equal size? Is there a way to do that in blender? Or if there is no easy way for that, maybe anybody not that lazy can provide me with a math line? Or maybe a link or whatever? Any open subset of $\Bbb R$ is a countable union of disjoint open intervals I am trying to solve the exercises from the book Stochastic differential equations -An Introduction with applications by Bernt Oksendal and I am stuck on 1 question.  Prove directly from the definition of Ito's integral that   $$\int_0^t B_s^2 dB_s=\frac{1}{3}B_t^3-\int_0^t B_s ds$$  I have tried for a couple of hours but I simply cannot prove it . I would be grateful if somebody could help me out , even a hint would be very helpful Why does main method in Java always need arguments? PC automatically booting into windows 10 in dual boot I have both windows 10 and ubuntu 16 installed on my system.   Lately the system is automatically booting to windows. To boot to ubuntu, I first have to pause startup by pressing escape and then boot into ubuntu.  I know that I have to change the boot order to Ubuntu  but am not able to do so and the grub customiser helps to change only the boot order in grub menu to the best of my knowledge.  What should I do? I am unable to find any way to change the boot order in bios Im very new at LaTeX and I would appreciate some help solving this problem. I have created a BibTeX file containing all references to a document. In this text file BibTeX items are inserted and no other text are written, for instance @article{...}. When I call for this bib file from the main.tex file I use the commands:  \bibliographystyle{plain} \bibliography{thebibliography}   Now to my question. All i get when I compile this main.tex is the title (bibliography) for this chapter, otherwise the textfield is blank. Is this error occurring because I should write anything in the bib file or have I missed any lines in the main.tex file.