How to save as much money as possible from my salary?
Best way to start investing, for a young person just starting their career?
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? I have a .txt file with numbers ordered like this (on the same row):  106849_01373    106849_01967    106850_00082    23025.7_01059      I would like to convert them like that:  106849_01373 106849_01967 106850_00082 23025.7_01059   I have no idea which command to use. Can somebody help me with this? Does a word rhyme with itself? How map multiple inputText to an array property? What is the difference between metonymy and synecdoche? I am reading Tom Apostol's Analysis and come across this theorem.   Should $a \leq b$ if $a\leq b+\epsilon$ for all $\epsilon &gt;0$?   I don't doubt the proof in the book but I don't understand the intuition or geometric explanation behind this. Could somebody shed some light on this equation? I just started studying analysis on my own.$\ \ $ Escaping regex string Run a nohup command over SSH, then disconnect I want to execute a script, start.sh on a remote server which runs this:  nohup node server.js &amp;   Naively, I call SSH like this:  ssh myserver &lt;&lt;EOF ./start.sh &amp; EOF   This starts the script, but leaves the session connected. I want to follow this step with other commands in a script, so that's no good.  How can I SSH to the remote machine, launch a nohup command into the background, then disconnect? I suppose I could put the SSH process itself into the background, but that doesn't seem right. How do I use reflection to call a generic method? Error when creating data with special characters and numbers My code will not project and store the feature layer in the scratch.gdb. "ERROR 999999 ... The table name is invalid. The table was not found. [17_5330_51961Lake]"  The interpreter doesn't like "-" characters or beginning or ending in a number. Does anyone know of a work around?  import arcpy import os  mxd = arcpy.mapping.MapDocument("Current") mxdpath = mxd.filePath (filepath, filename) = os.path.split(mxdpath) MCP_Path = str(filepath)  srl = os.path.join(MCP_Path, r"CoordinateSystems\NAD 1983 UTM Zone 17N.prj")  WBYLID = "17-5330-51961"  WBYLIDlabel = WBYLID.replace("-","_")  LakeOut = os.path.join(MCP_Path + "\OutputData\Scratch.gdb", WBYLIDlabel + "Lake") arcpy.Project_management(fl, LakeOut, srl) Analysis's output vs analysis output vs output of the analysis Prime/Maximal Ideals in $\mathbb{Z}[\sqrt d]$ Irreducible Components of the Prime Spectrum of a Quotient Ring and Primary Decomposition A common good practice in Machine Learning is to do feature normalization or data standardization of the predictor variables, that's it, center the data substracting the mean and normalize it dividing by the variance (or standard deviation too). For self containment and to my understanding we do this to achieve two main things:   Avoid extra small model weights for the purpose of numerical stability. Ensure quick convergence of optimization algorithms like e.g. Conjugate Gradient so that the large magnitude of one predictor dimension w.r.t. the others doesn't lead to slow convergence.   We usually split the data into training, validation and testing sets. In the literature we usually see that to do feature normalization they take the mean and variance (or standard deviation) over the whole set of predictor variables. The big flaw I see here is that if you do that, you are in fact introducing future information into the training predictor variables namely the future information contained in the mean and variance.  Therefore, I do feature normalization over the training data and save the mean and variance. Then I apply feature normalization to the predictor variables of the validation and test data sets using the training mean and variances. Are there any fundamental flaws with this? can anyone recommend a better alternative? I can't seem to find a satisfactory answer to this anywhere on the web. While  poses a related question, I don't think it sufficiently answers mine...  During the opening chapters of Jedi Search, Luke addresses the new Senate on the need to find new Jedi talent, or Force sensitive individuals. During this proposal, he cites that the most fruitful leads of Jedi potential are in the descendants of Jedi Knights: as Force sensitivity is hereditary. The book even discusses the notion that Leia should be comparatively well attuned to the Force, due to her being the child of Anakin Skywalker.  I understand that the concept of the Jedi as a totally celibate and monastic order was something that was retconned into the lore after Episode II: Attack of the Clones, and that there are examples of entire nuclear Jedi families exist (such as Andur Sunrider and Plo Koon)...  But if Force-manipulative ability is passed down genetically (as a potentially mutative property of their genetic makeup), why would the Jedi order be so numerous if they practice Chastity?  Even if procreation is not expressly forbidden (as in the pre-retcon Expanded Universe): why would Jedi need special permission to produce more Jedi potential children?  How are more Jedi created, if not through procreation? Has their profusion been deliberately retarded, and if so why? is there another explanation for their (pre-empirical) plenitude? How do I detect unsigned integer multiply overflow? How do I test for a mob, with a given name, in a certain location? I want to testfor a sheep, by the name of Lamb, in a certain location using coordinates.  I have already tried this:  testfor @e[x=999,y=80,z=-1034,type=Sheep,name=Lamb]   But it doesn't work. I have also tried:  testfor @e[x=999,y=80,z=-1034,type=Sheep]   But it says it found a sheep whether or not there is actually a sheep in that location. Doing a little reading over the break (The Probabilistic Method by Alon and Spencer); can't come up with the solution for this seemingly simple (and perhaps even a little surprising?) result:     (A-S 1.6.3) Prove that for every two independent identically distributed real random variables $X$ and $Y$,   $$Pr[|X-Y| \leq 2] \leq 3 Pr[|X-Y| \leq 1].$$ So all wizards get an invitation to Hogwarts at 11... How do they know whom to invite?  If a wizard is Muggle-born, then nobody would know about their existence.  Or do they register some weird magical stuff being done by them before 11? Getting Acquaintances to become Friends