Watergate and Marathon -- Any other invalid, but common back formations?
Term for words like Snowmageddon, Nipplegate and even cheeseburger?
C++ deleting line of text in a file How to configure extra buttons in Logitech Mouse What compiler warning level do you recommend for different C/C++ compilers?  gcc and g++ will let you get away with a lot on the default level.  I find the best warning level for me is '-Wall'.  And I always try to remove fix the code for the warnings it generates.  (Even the silly ones about using parenthesis for logical precedence rules or to say I really mean 'if (x = y)')  What are your favorite levels for the different compilers, such as Sun CC, aCC (HPUX ?), Visual Studio, intel?  Edit:  I just wanted to point out that I don't use "-Werror" (but I do understand it's utility) on gcc/g++ because, I use:   #warning "this is a note to myself"   in a few places in my code.  Do all the compilers understand the #warning macro? I love apples. I like to eat them with skin as it has plenty of fiber in the skin. But apples are famous for wax and pesticides on the skin which I don’t want to ingest. I have read many articles on the web and suggestions for removing the wax from the surface.   These suggestions include soaking in vinegar or hot water and other methods. They suggest that soaking apples in vinegar removes the wax that can be seen in the vinegar. I have done that, but never seen any residue of wax in the vinegar.   So I have set aside a new kitchen sink Scotch-Brite scrubber for this purpose and been scrubbing the apple skin under running water before eating. I think this method should remove most of the wax and pesticides. I would like to hear your input. Nexus 7 2013 error upgrading to 5.0.2 OTA I updated to 5.0.1 via OTA sometime ago, and it worked fine. Now I got a notification that 5.0.2 is ready but when Android shuts down to install update it returns error (with no other message. My Nexus 7 is rooted but has the stock recovery.  Is there an easy fix that doesn't require factory reset or installing recovery? File permissions and saving Lenovo Y510P: Battery wont charge past 60% On my y510p, I set Lenovos battery software to "Optimize battery health" while I was in Windows 8.1. I forgot to change it before overwriting that partition with Ubuntu, and now my battery in Ubuntu never charges past 59~60%. I think this is due to something in the BIOS because it persists despite my Windows partition being gone.   I've searched the BIOS but there's no mention of battery anywhere!  I'm using Ubuntu 14.04 LTS. The Bash man page describes use of ${!a} to return the contents of the variable whose name is the contents of a (a level of indirection).  I'd like to know how to return all elements in an array using this, i.e.,  a=(one two three) echo ${a[*]}   returns  one two three   I would like for:  b=a echo ${!b[*]}   to return the same.  Unfortunately, it doesn't, but returns 0 instead.  Update  Given the replies, I now realise that my example was too simple, since of course, something like:  b=("${a[@]}")   Will achieve exactly what I said I needed.  So, here's what I was trying to do:  LIST_lys=(lys1 lys2) LIST_diaspar=(diaspar1 diaspar2)  whichone=$1   # 'lys' or 'diaspar'  _LIST=LIST_$whichone LIST=${!_LIST[*]}   Of course, carefully reading the Bash man page shows that this won't work as expected because the last line simply returns the indices of the "array" $_LIST (not an array at all).  In any case, the following should do the job (as pointed out):  LIST=($(eval echo \${$_LIST[*]}))   or ... (the route that I went, eventually):  LIST_lys="lys1 lys2" ... LIST=(${!_LIST})   Assuming, of course, that elements don't contain whitespace. Show Log of the Sql statements that QGIS generates to retrieve Data from Postgis Is there a ways to  - make QGis log its generated SQL Statement or to - force POSTGIS to log all interaction with QGIS?  There is something strange happening to the WFS layer I retrieve in QGIS, since it does  not select all data available in the respective database table. I need to find out, what criteria QGIS chooses in order to narrow down the select set. How to set a maximum execution time for a mysql query? I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it.   p.s. Somebody says that the solution is installing openoffice.org-java-common package but Ubuntu 14.04 does not have this package in its repository.  System details:  OS: Ubuntu 14.04 LTS  LibreOffice: 4.2 (4.2.3.3)  LanguageTool: 2.5  Java: Oracle JDK 1.8.0_05     Exception message: What is the default bibliography package and backend in LaTeX? According to , biblatex and natbib are packages while biber and bibtex are backends. If I don't specify either any package or any backend, it still compiles fine. Which package and backend combination is being used in this case?  demo.tex  \documentclass{article} \begin{document}  \nocite{*} \bibliographystyle{ieeetr} \bibliography{pub}  \end{document}   pub.bib  @article{janssen1996evaluation,     title={Evaluation of the DNA fingerprinting method AFLP as a new tool in bacterial taxonomy},     author={Janssen, Paul and Coopman, Renata and Huys, Geert and Swings, Jean and Bleeker, Marjo and Vos, Pieter and Zabeau, Marc and Kersters, Karel},     journal={Microbiology},     volume={142},     number={7},     pages={1881--1893},     year={1996},     publisher={Soc General Microbiol} }  @article{vos1995aflp,     title={AFLP: a new technique for DNA fingerprinting},     author={Vos, Pieter and Hogers, Rene and Bleeker, Marjo and Reijans, Martin and Van de Lee, Theo and Hornes, Miranda and Friters, Adrie and Pot, Jerina and Paleman, Johan and Kuiper, Martin and others},     journal={Nucleic acids research},     volume={23},     number={21},     pages={4407--4414},     year={1995},     publisher={Oxford Univ Press} } What is the derivative of this? I have a function of the following form:  $J = \|W^TW-I\|_F^2$   Where, $W$ is a matrix and $F$ is the Frobenius Norm.  How can I find the derivative of $\frac{\partial J}{\partial W}$ ? JComboBox Selection Change Listener? I found some articles related to this, but they were not sufficient for me. I want to know how the localhost works and why is it the same on many different machines?   How does the localhost block the access to the website when we use it in the host file to block the website? Gdata signed request error: "Unknown authorization header" Number of bins when computing mutual information I want to quantify the relationship between two variables, A and B, using mutual information. The way to compute it is by binning the observations (see example Python code below). However, what factors determines what number of bins is reasonable? I need the computation to be fast so I cannot simply use a lot of bins to be on the safe side.  from sklearn.metrics import mutual_info_score  def calc_MI(x, y, bins):     c_xy = np.histogram2d(x, y, bins)[0]     mi = mutual_info_score(None, None, contingency=c_xy)     return mi Concecutive last zeroes in expansion of $100!$ I'm finishing professional school and over the years have acquired a pile of notes and articles that I'd like to hang onto.  I'd like to add to them and create sort of an archive of article and files that may be useful down the road.  I'd also like to organize this collection of files not only by simple grouping but also with tags.  I feel like that will make searching through them years later much easier.  Suggestions on software that would be good for this?  Just a general file manager, something that uses tags that can be attached to each file? Which loss function is correct for logistic regression? I read about two versions of the loss function for logistic regression, which of them is correct and why?  From  (in Chinese), with $\beta = (w, b)\text{ and }\beta^Tx=w^Tx +b$: $$l(\beta) = \sum\limits_{i=1}^{m}\Big(-y_i\beta^Tx_i+\ln(1+e^{\beta^Tx_i})\Big)  \tag 1$$  From my college course, with $z_i = y_if(x_i)=y_i(w^Tx_i + b)$: $$L(z_i)=\log(1+e^{-z_i}) \tag 2$$    I know that the first one is an accumulation of all samples and the second one is for a single sample, but I am more curious about the difference in the form of two loss functions. Somehow I have a feeling that they are equivalent.