Javascript doesn't work when loading popover with button click event
Event binding on dynamically created elements?
What are some good introductions to philosophy? I've been searching the questions posed here, and don't seem to find one that gives the answers I am looking for. I've proposed to start a  on meta but no one proposed anything, so I feel I must ask this question: What are some books generally regarded as good for a general introduction on philosophy? By this I mean good books that can introduce you to philosophy in general and throughout the times, not to some philosophy or period in particular.   almost answers mine, except for the fact that most things proposed there are not books, thus not giving me much options to weigh upon.  regards contemporary philosophy in particular. And  has the same problem as the first one, plus the fact that it asks for layman's terms, which is not what I am looking for.  I've been tempted to buy Will Durant's , but am not sure if it is the best book to get started on philosophy (plus, the book has some mixed reviews). I also checked , which seems to be unanimously good, but has the format of dictionary/encyclopaedia, which is not exactly what I am looking for (at least as a main source).  also seems to be a good introduction regarding how to do philosophy, rather than to its history and ideals (this also interests me, but I'd rather learn about the philosophers and their theories first).   It is also important to point out that I have little notions (or none at all) on philosophy. I would like to read something that covers from classical to contemporary philosophy generally (although I do not know if there is such a book), so that from there I could pick some author, period or branch of philosophy in particular to read further on. So, to sum up, I would like to 'hear' your opinions on what are some books generally regarded as good for a general introduction on philosophy. "Use Option as Meta key" with ability to type the # symbol I am using Terminal version 2.5, where I have two requirements:  I need to be able to type the Meta key. I need to be able to type the # character, too (Option+3 for the UK keyboard layout)  How can I satisfy both of these? By default, (2) is satisfied, but (1) is not. I can then turn on &quot;Use Option as Meta key&quot;, which satisfies (1), but breaks requirement (2). How can I have both? (It shouldn't be so hard for me to just be able to type.) Edit: what I'm looking for, for example, might be a way to just &quot;Use Option as Meta key&quot; for the left/right Option key, or a way to override the &quot;Use Option as Meta key&quot; for the sole exception of the # character. Random real numbers that sum up to specific value Can the 'bin size' in a histogram be thought of as a regularity constraint? A question from Kunen's book: chapter VII (H9), about diamond principle Expectation of momentum in the bound state Is it logically correct to assert that the expectation of the momentum $$\langle \hat p \rangle=0$$ for any bound state because it is bound to some finite region? What is the physical interpretation of the fact that $$\langle \hat p \rangle=0$$ in an energy eigenstate $\psi_n(x,t)$  but $$\langle \hat p \rangle\neq0$$ in some superposition state $$\psi(x,t)=c_m\psi_m(x,t)+c_n\psi_n(x,t)~?$$ Here $\psi_n(x,t)$ the eigenstates of the Hamiltonian, for example, in the problem of particle in a box (say). Limit of $\frac{\log(n!)}{n\log(n)}$ as $n\to\infty$. I can't seem to find a good way to solve this.  I tried using L'Hopitals, but the derivative of $\log(n!)$ is really ugly. I know that the answer is 1, but I do not know why the answer is one.  Any simple way to go about this? What else can you do in the turn you ready an action? $\prod_{k=0}^{\infty} \cos(x \cdot 2^{-k}).$ Task is to find $$\prod_{k=0}^{\infty} \cos(x \cdot 2^{-k}).$$  I tried to make it with double-angle formula: $\prod_{k=0}^{\infty} \cos(x \cdot 2^{-k}) = \frac{\prod_{k=0}^\infty \sin(x2^{1-k})}{2^\infty \cdot \prod_{k=0}^\infty \sin(x \cdot 2^{-k})} $ I'm sad to admit, that I'm stuck with that one. So I would appreciate any help, such as pointing the right direction. If RSA is limited to 117-200 bytes or so, is that a very limited use case? Am I missing something, or is RSA very very limiting when it comes to ecrypting data when it comes to the actual message size?  I have read that you can only encrypt a message of around 117 to 200 bytes in size (depending on your key size: 1024 or 2048 bits). Is this correct?  If so, I think I have read people suggesting on using it for larger files. I guess they are just repeating the process many times over and over in blocks of 117 bytes? How do I test a private function or a class that has private methods, fields or inner classes? How do I unit test (using xUnit) a class that has internal private methods, fields or nested classes? Or a function that is made private by having  (static in C/C++) or is in a private () namespace?  It seems bad to change the access modifier for a method or function just to be able to run a test. How would I give a simple example of a function $f$ differentiable in a deleted neighborhood of $x_0$ such that $\lim_{x\to x_0}f^\prime(x)$ does not exist? I cannot seem to think of an example.  A delete neighborhood is an open interval about $x_0$ which does not contain $x_0$. So, $(x_0-\delta,x_0+\delta)-\{x_0\}$ for some $\delta&gt;0$.  How would something be differentiable in a deleted neighborhood if at the point of the derivative, the limit does not exist. Presumably, the derivative ends up looking something like $\lim_{x\to x_0} \dfrac{1}{x}$, if it does not exist. Why do objects sometimes fall on their own? Why doesn't "cd" work in a shell script? I just want to write a script which changes my directory.  I put the below commands in the file /home/alex/pathABC  #!/bin/sh cd /home/alex/Documents/A/B/C echo HelloWorld   I did   chmod +x pathABC   In the Terminal, while in /home/alex, I ran ./pathABC, but the output is just HelloWorld and the current directory is not changed.  So what is wrong? I am trying to do kriging by gstat package through R.   Here is my Code:  krg&lt;-krige(var ~ 1,data,grid,model=vgm,nmax=30)   But each time I recive this warning:  1: In predict.gstat(g, newdata = newdata, block = block,  ... :    Warning: Covariance matrix (nearly) singular at location [1,4501,0]: skipping...   and when I try to plot it by spplot this error appears:  Error in seq.default(zrng[1], zrng[2], length.out = cuts + 2) :    'from' cannot be NA, NaN or infinite In addition: Warning messages: 1: In asMethod(object) :   complete map seems to be NA's -- no selection was made 2: In min(x) : no non-missing arguments to min; returning Inf 3: In max(x) : no non-missing arguments to max; returning -Inf   Here is the full code: You can download my data through this link:  and here is my full code:  library(gstat)                                          library(sp) library(raster)  coordinates(Mydata) &lt;- ~East + North proj4string(Mydata) &lt;- CRS("+proj=utm +zone=10+datum=WGS84") ext &lt;- as(extent(Mydata), "SpatialPolygons") r &lt;- rasterToPoints(raster(ext), spatial = TRUE) proj4string(r) &lt;- proj4string(Mydata)  v1 &lt;- variogram(cpue_female ~ 1, Mydata) vgm_mod_omni &lt;- vgm(psill = 0.0003, model = "Mat", range = 50000, nugget = 33, kappa = 0.5) G1 &lt;- krige(cpue_female ~ 1, Mydata, r, vgm_mod_omni, nmax = 30) gridded(G1) &lt;- TRUE spplot(G1) Should I have separate threads for rendering and logic, or even more?  I'm aware of the immense performance drop caused by data synchronization (let alone any mutex locks).  I've been thinking of taking this to the extreme and doing threads for conceivable every conceivable subsystem. But I'm worried that may slow things too. (For example, is it sane to separate the input thread from rendering or game logic threads?) Would the data synchronization required make it pointless or even slower? As I understand it, the hosts file is one of several system facilities that assists in addressing network nodes in a computer network. But what should be inside it? When I install Ubuntu by default   127.0.0.1 localhost    will be there. Why?   How does /etc/hosts work in case of JVM systems like Cassandra? When is DNS alternative, I guess not on a single computer? How can I import the configuration on a different site? I have this error when I try to import the config of an another site:     The staged configuration cannot be imported, because it originates   from a different site than this site. You can only synchronize   configuration between cloned instances of this site.   I have 10 customers, and I need to sync my site configuration with 10 different websites. The site UUID is a problem for sharing a configuration with a different website. Is there a solution? Time complexity of nested for-loop Recursivly Deleted Root Directory I recursively deleted the contents of my root directory with sudo privileges. My display reset, and windowing stopped working. I could no longer run non-buitin commands. Most of my directories (including the home directory disappeared).  What I meant to run:  sudo rm ./* -rf   What I believe I ran:  sudo rm /* -rf   I understand how this command works (see ).  I'm trying to get a better sense of how much (and what parts) of the original files and directory-structure physically remains on the hard-drive.  How much of these "remains" are recoverable? E.g is it possible to use data recovery software like TestDisk/PhotoRec to recover the full home dir itself? What about config files?