Load file into div without removing the content
Can jQuery .load append instead of replace?
Format a date in XML via XSLT Part of a fingernail known as the  is informally known as the "quick".  It is referenced in the saying "cut to the quick".  What is the etymology of the word quick as in reference to the fingernail? Declaring variables inside or outside of a loop Find a polynomial f(x) of degree 5 such that 2 properties hold. I have been trying to find a polynomial $f(x)$ such that these $2$ properties hold:   $f(x)-1$ is divisible by $(x-1)^3$ $f(x)$ is divisible by $x^3$   To start, I set $f(x) =ax^5 + bx^4 + cx^3 + dx^2 + ex + f$. This is divisible by $x^3$, so $d, e, f $  must be $0$. So polynomial $f(x) = ax^5 + bx^4 + cx^3$  This minus $1$ is divisible by $(x-1)^3$. So I used synthetic division and got that the remainder of $ax^5 + bx^4 + cx^3$ divided by $(x-1)$ is $a+b+c-1$. But it should divide out evenly, so $a+b+c-1 = 0$.  From here, I can't find any other equations involving the three variables. Could someone have any suggestions for how to continue? Thanks in advance. :) list transparency across non consecutive slides The difference between two periodic functions converges to zero, is this two functions identical? If $f(x)$ and $g(x)$ are two periodic functions, that is, $f(x+T_1)=f(x)$ and $g(x+T_2)=g(x)$ for every $x \in \Bbb R$. Now that $\displaystyle\lim_{x\to\infty}(f(x)-g(x))=0$.  Conjecture: $f(x) \equiv g(x)$. Markdown in chat fails for multi-line messages How to use st_buffer? I would like to calculate a buffer of 5km around country polygons. However, I somehow always get a warning and an error. Here is a reproducible example code.   library(sp) library(sf) library(tmap)  library(rnaturalearth) countries_sp &lt;- ne_countries(scale = 10)  countries_sp &lt;- countries_sp[(countries_sp@data$geounit %in% "France"), ]  proj4string(countries_sp) &lt;- CRS("+init=epsg:4326")   countries_for_buff &lt;- st_as_sf(countries_sp, crs ="+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 +ellps=GRS80 +units=m +no_defs ")  countries_buff_5km &lt;- st_buffer( countries_for_buff, 5000)   here the warning:  dist is assumed to be in decimal degrees (arc_degrees). Warning message: In st_buffer.sfc(st_geometry(x), dist, nQuadSegs, endCapStyle = endCapStyle,  : st_buffer does not correctly buffer longitude/latitude data   Then   tm_shape(countries_sp) +   tm_polygons() + tm_shape(countries_buff_5km) +   tm_polygons()   gives the error   Error in if (all(tiny) &amp;&amp; show.messages) warning("all relative area sizes are below thres.poly",  :     missing value where TRUE/FALSE needed   What am I doing wrong? I guess there is something about the projection that does not quite work out the way it should. I would like to update a large number of C++ source files with an extra include directive before any existing #includes. For this sort of task, I normally use a small bash script with sed to re-write the file.   How do I get sed to replace just the first occurrence of a string in a file rather than replacing every occurrence?  If I use  sed s/#include/#include "newfile.h"\n#include/   it replaces all #includes.   Alternative suggestions to achieve the same thing are also welcome. How can there be a directory named `~`? I was trying to test out this buggy/new tool to see how it works, and it prompted me to choose a directory to use for stuff I am doing. From the directory ~/Code/indep, I typed in ~/Code/indep/tarbell. (Stupid, I could have just typed 'tarbell', but whatever.) It prompted me to create it because it didn't exist, I said yes. When I inspected the contents of this directory, here is what I see:  brian@navis:~/Code/indep$ ls ~ project1 project2 project3 ...   I thought "oh, weird, it created a symlink to ~". However:  brian@navis:~/Code/indep$ file ./~ ./~: directory   file thinks it's a directory.   brian@navis:~/Code/indep$ ls -l drwxr-xr-x 3 brian brian 4096 Nov  8 16:50 ~ drwxr-xr-x 8 brian brian 4096 Oct 14 18:42 project1 drwxr-xr-x 3 brian brian 4096 Sep 10 21:15 project2 drwxr-xr-x 5 brian brian 4096 Oct 14 19:33 project3 ...   And so does ls -l.   I thought, "oh, ... is it a hard link? I've never really used those." But I tried to reproduce, and it's impossible to create a hard link to a directory. So... I guess I've narrowed this down to things I don't understand. Did I mount my home directory in this other directory somehow?   My main goal at this point is to remove the reference to my home directory in this folder (rm doesn't seem like the answer), but I'm also curious to know what's going on.  EDIT:   In retrospect, I understand exactly what happened. As was answered below, the program created a directory called "~" inside my current directory. The only really obfuscating fact about this is that I wasn't consistent with how I was actually viewing what the directory was. Sometimes I referred to it as  "~" and sometimes as "./~". It's only if you do the latter that you can actually see what's going on, but until I understood this, I was conflating what I was seeing from using the absolute path of "~" to to what was in fact a local directory. Run Metro application on startup? I want to know where the Metro applications (Mail, People, Messages, ...) executable file path is.  Also, how can I run Mail application when my PC starts? Is there a general formula for solving 4th degree equations (quartic)? There is a general formula for solving quadratic equations, namely the Quadratic Formula:  $$ x = \frac{ -b \pm \sqrt{ b^2 - 4ac } }{ 2a } $$  For third degree equations of the form $ax^3+bx^2+cx+d=0$, there is a set of three equations: one for each root. Is there a general formula for solving equations of the following form? $$ ax^4 + bx^3 + cx^2 + dx + e = 0 $$ How about for higher degrees? If not, why not? Microphone doesn't work in Hangouts I have a DELL inspiron 5537 i5 laptop with Ubuntu 14.04. When I use Google Hangouts on Google Chrome, my mic just doesn't work. When I open the secure info setting it shows that the mic is allowed.  Works in Windows.  I have tried to add the Hangouts plugin and it also doesn't work.  Is there any to solve the problem? NFS: mount.nfs: Protocol not supported Trying to remember a short story (most likely from the sixties).  It starts with a soldier at the front line fighting an unknown enemy on the other side of the front line.  He then gets withdrawn and you realise that time is passing slower the further he moves from the front. He then spends years in peace away from the front, before being sent back to the front where only a short time (hours or days perhaps) have passed.      I seem to remember their was an inference that they were actually fighting against themselves, with their attacks coming back at themselves, which was perhaps the entire cause of the war, and an interesting critique on war.  I can't remember if this all this was stated explicitly, or just left for the reader to infer. When a lattice is a lattice of open sets of some topological space? When a lattice $(L,\leqslant)$ is a lattice of open (or closed) sets of some topological space $(X,\tau)$? Which conditions have to be satisfied? We may assume that $X$ is $T_1$. Sharepoint 2010 - Deploy webpart as Feature scope = web Proving which QM interpretation is correct Let's assume that the existence of gravitons is theoretically proven or they are detected by LHC could one interpretaion be proven correct? What is the antiderivative of $e^{-x^2}$ I was wondering what the antiderivative of $e^{-x^2}$ was, and when I wolfram alpha'd it I got $$\displaystyle \int e^{-x^2} \textrm{d}x = \dfrac{1}{2} \sqrt{\pi} \space  \text{erf} (x) + C$$  So, I of course didn't know what this $\text{erf}$ was and I looked it up on wikipedia, where it was defined as:   $$ \text{erf}(x) = \dfrac{2}{\sqrt{\pi}} \displaystyle \int_0^x e^{-t^2} \textrm{d}t $$   To my mathematically illiterate mind, this is a bit too circular to understand. Why can't we express $\int e^{-x^2} \textrm{d}x$ as a 'normal function'? Also, what is the use of the error function? What counter balances gravity here? Lets consider a stone tied to one end of a massless and unstretchable string... Now if i'll start rotating, it will form a conical pendulum &amp; then the equilibrium is achived when the pendulum attains horizontal circular motion.... Now to maintain that state we give a constant force to string.... Here, which force counterbalances gravity? Is it the torque due to applied force cancels out the torque due to gravity?  The angle θ changes from 0 to 90°