jquery select appended elements
Event binding on dynamically created elements?
Removing unnecessary vertices? Making adult decisions are/is really not fun.     What is the proper answer and why? My gut says "is" but I can't explain why. How do I check the Database type in a Rails Migration? How to address a professor in person at US universities? At US universities, how should one address a professor while talking to him or her? In my home country, we usually address the professors as either "sir" or "madam" while talking about our queries in person.   What's the norm at US universities? Getting below error message while issuing :  sudo apt-get update  Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB] Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 InRelease                                                                                                             Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                          Hit:4 http://ppa.launchpad.net/canonical-x/vulkan/ubuntu xenial InRelease                                                                                                 Hit:5 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 Release                                                                             Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease                                                   Ign:7 http://dl.google.com/linux/talkplugin/deb stable InRelease                                                      Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                    Ign:9 http://linux.dropbox.com/ubuntu wily InRelease                                            Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease                               Get:12 http://dl.google.com/linux/chrome/deb stable Release [782 B]       Hit:13 http://dl.google.com/linux/talkplugin/deb stable Release                   Ign:14 https://apt.dockerproject.org/repo ubuntu-wily InRelease           Hit:15 https://apt.dockerproject.org/repo ubuntu-wily Release             Get:16 http://dl.google.com/linux/chrome/deb stable Release.gpg [181 B]   Hit:17 http://linux.dropbox.com/ubuntu wily Release                                   Get:20 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,191 B] Fetched 98.0 kB in 0s (118 kB/s)                                  Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'   This cuts across various releases of ubuntu Which is the best visualization for contingency tables? Which is best plot, from statistical standpoint, to show a , which is typically being analyzed by chi-square test? Is it a dodged barplot, stacked barplot, heatmap, contour plot, jitterred scatterplot, multiple lines plot or something else? Should one show absolute values or percentages?  Edit: Or as @forecaster suggests in the comments, the table of numbers is itself a simple plot and should be sufficient. How to make a grid-to-sphere animation like this? List of CSS features not supported by IE6 Why is 3D stress tensor acting only on three surfaces? I'm trying to learn about the stress tensor (in 3D)    The tensors are said to have directions (the first subindex $i$ in $\sigma_{ij}$) and specify the surface upon which they act (the second subindex $j$ in $\sigma_{ij}$).  What confuses me is why is it defined only to act on three surfaces, even when the cube has six surfaces? How do I install the VirtualBox version from Oracle to install an Extension Pack? I downloaded VirtualBox OSE from the Ubuntu Software Center but it seems that that version is limited. I prefer to have the complete version and don't really care if it's closed source or not.  Can I install it via a terminal or do I have to download something from a website?  I don't know how to install software I download from the web. So far I've only used the Software Center. Sometimes, a question is perfectly solved by suggestion or actual resolution given in "comments" under it. In such case, how to mark that answer (comment) as "Accepted Answer"? Due to this, the question remains unanswered even if solution is provided in comment. MWE:  \documentclass[a4paper,12pt,twoside]{memoir} \usepackage{DejaVuSerifCondensed} \usepackage[T1]{fontenc} \begin{document} \noindent\scshape{Hello World}\\ \textsc{Hello World} \end{document}   Explanation and question:  As you can see, I am working with a memoir document class and I've load a font DejaVuSerifCondensed, I am trying to obtain small caps for my header (which I did not place in the MWE as unnecessary). However I can't obtain the desire effect with the \scshape command nor with the \textsc{}.  I've seen other questions like     .   But either they do not adapt to my problem (for what I can see) or they do not solve the problem (following the instructions there and "inserting" the piece of code in mine).  Question here is: is there a general method (piece of code or something) to obtain small caps from a custom font (even if that is one I upload with a ttf)?, if not, what would be the piece of code to select the standard small caps font? Is there a way to recover files from a storage device partially overwritten with dd? I'm an idiot, I was writing an image to a USB drive using dd when instead of typing /dev/sdb I typed /dev/sdd and wrote the 135mb image to my 750gb External Hardrive full of files. Is there ANY possibility of recovering the files or did dd completely zero out the drive? Please help, as this is one of the lowest points of my life EVER.  dd finished writing the 135mb image in 5 seconds, so I didn't have a chance to stop it. By the time I knew what happened to was too late. The command was as follows:   sudo dd if=generic.img of=/dev/sdd bs=1M   EDIT2: The External Harddrive's filesystem was FAT32(I've had the drive for awhile and FAT32 was the most Universal FS at the time). I also have a 2TB drive I just got which I was planning on moving most of the files to from the 750gb, If needed I can use it to transfer the Recovered files to. Erase Windows Vista to Install Ubuntu new here. I have an old E-machine which as Windows Vista on it and I want to erase the Windows Vista, and install Ubuntu on it instead, but I am not sure where to start. Can I first install Ubuntu, and THEN erase Windows Vista, or is there a more sure method? I appreciate your help. Do we need to unbind event listeners in directives when angular starts to destroy? new array.sty and colortbl.sty incompatibility? I just upgraded my texlive distribution and can no longer insert space in table rows using \\[x pt] syntax when colortbl is loaded.  It seems that recent changes to array.sty might be the problem as this is the only package to change recently.  Can anyone suggest a workaround?  MWE  \listfiles \documentclass{article} \usepackage{colortbl} \begin{document} \begin{tabular}{l}   \hline   No space below with \texttt{colortbl.sty} loaded. \\[10mm]   \hline \end{tabular} \end{document}   File versions in use:   article.cls    2014/09/29 v1.4h Standard LaTeX document class   size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option) colortbl.sty    2012/02/13 v1.0a Color table columns (DPC)    array.sty    2018/04/07 v2.4g Tabular extension package (FMi)    color.sty    2016/07/10 v1.1e Standard LaTeX Color (DPC)    color.cfg    2016/01/02 v1.6 sample color configuration   pdftex.def    2018/01/08 v1.0l Graphics/color driver for pdftex counting triangles in a graph or its complement Given a simple graph $G$ [no loops or parallel edges] on six vertices,  let $G^c$ denote its complement. It is known that either $G$ or $G^c$ must contain a triangle  $T$ in it. [An example of a Ramsey number I think.]   My question came up when I tried to find such a graph on six vertices  which had only one $T$ in it or its complement.  I believe if I did things right there are none of these. This I tried to check by drawing a copy of each graph $G$  on six vertices which has a $T$ in it,  and then looking at the complements to see if any had  no $T$'s in them. I found none.  One way to pose my question for a general number $n$ of vertices  is then as follows: Consider the set of all graphs $G$ on $n$ vertices,  and for each one construct $G^c.$  Count the number of $T$ in $G$ and add that to the number of $T$ in $G^c.$  Finally find the minimal such sum for the given $n$  and call that say $M(n).$ So my above six vertex conjecture  is that $M(6)=2.$   By considering a cycle graph on five vertices we find $M(5)=0.$   So going further one could ask if anything is known  about this minimum function $M(n)$ for larger $n$ [such as bounds, etc.] And does it have a name?  I would also like to see a simpler way to handle the six vertex case, one not involving drawing all the graphs. Let $n$ be an integer such that if $d | n$ then $d + 1 | n + 1.$ Show that $n$ is a prime number Let $n$ be an integer such that for any integer $d$, if $d | n$ then $d + 1 | n + 1$.   Show that $n$ is a prime number or equal to $1$  My workout...  Suppose $n = xy$ for some postive integers $x$ and $y. x|n$, and hence we assume without loss of generality $x + 1|n + 1.$   Then $x|xy + 1$. However, $xy + x$ is divisible by $x$.  This implies $x − 1$ is divisible by $x$, which is an impossibility if $x$ is not equal to $1$.  Therefore whenever $n$ is decomposed into two factors, one must turn out to be $1$. Hence $n$ must be a prime.  I am looking for any other method which solves this quickly and more quickly... Maclaurin series of $\ln(1-x+x^2)$ Is there a closed form expression for $\text{n}^{\text{th}}$ coefficient of Maclaurin series of  $$\ln(1-x+x^2)$$ Imported CSV data is not displayed in QGIS I watched a simple video tutorial on how to accomplish it, but nothing shows up on my project when I add the layer. Even if I try zoom to layer, the screen just shows blue. I'm not sure if it has something to do with my Excel, computer, or program. I really need help as I am new to QGIS. (I just posted this, but it won't let me comment to people under that question any more) I have a layer of google hybrid, but when I do add the new layer it is at the top and checked transparency and everything. Its just not accepting the data I entered into the excel spreadsheet is my guess to what the issue is.  I have the spreadsheet with the name, longitude, latitude. Save as CSV In QGIS go to Layer &gt; Add layer &gt; Add Delimited Text Layer Upload the CSV Excel file Add  Nothing shows even tho there is a line in the layers (bottom left) showing that &quot;something&quot; is there but if I choose &quot;zoom to layer&quot; it changes to a blue screen I have a Base layer Google Maps hybrid, and an area of interest on Georgia