How to detect if new element is added in DOM?
Event binding on dynamically created elements?
I've got a directory shared on my network, using Samba. People on the netwerk use this Samba share to download files from my share to their computers. I'm interested in what files are downloaded most, and by which users they are downloaded. I'd like to see this in real time, if possible. Is there a program that allows me to do this? If yes, how can I use it?    I'm using Ubuntu 11.10. I can open Thunderbird but as soon as I click on any file thunderbird freezes. Went to tools can see first page of settings but thunderbird freezes.  Ran norton 360 &amp; rebooted too   Went to firefox website to download thunderbird Version 3.1.9 (3) program downloads and then freezes while norton checks for viruses....  Any suggestions? Confusion about the definition of function Yesterday I was talking to one of my friends about the definition of function. The formal definition of function is given by Cartesian Products but my friend's question was whether it is possible to define a function without being acquainted with any concept of Cartesian Products.   To answer this question I told him the definition of a function may be given by defining a function $f$ from the set $X$ to $Y$, denoted by $f:X\to Y$, to be some "rule" (the word rule being an undefined concept) which associates, to each member of $X$, exactly one element of $Y$.     But my friend said that the definition using the concept of "rule" isn't rigorous and there are examples that don't obey the definition but still is a function in the Cartesian Product sense.    My questions are,   Why the definition of function using concepts such as "rule" isn't rigorous?  Is there really any example which doesn't obey the definition but still is a function in the Cartesian Product sense? Unable to install rJava in R 3.0 in Ubuntu 13.04 Resetting Ubuntu to factory settings None of the physics sensors in my game work, I'm trying to create an AI man that chases after a player, but for whatever reason, he just won't sense the player, I've tried copying and pasting the property name just to be sure, but that's not it. Why do light disappears the moment we switch off the source (inside the wooden box)? \leqslant causes "Undefined control sequence" I have the following line: $0 \leqslant b \leqslant 1$  I want to display 0 &lt;= b &lt;= 1, but I get Undefined control sequence  thanks What's in a name: hyperparameters So in a normal distribution, we have two parameters: mean $\mu$ and variance $\sigma^2$. In the book Pattern Recognition and Machine Learning, there suddenly appears a hyperparameter $\lambda$ in the  regularization terms of the error function.  What are hyperparameters? Why are they named as such? And how are they intuitively different from parameters in general? I have some HTML menus, which I show completely when a user clicks on the head of these menus. I would like to hide these elements when the user clicks outside the menus' area.  Is something like this possible with jQuery?  $("#menuscontainer").clickOutsideThisElement(function() {     // Hide the menus }); The PS4 is now released in the EU, but due to shipment shortages is not available for sale unless pre-ordered a long time ago. Luckily, it seems as though Dualshock 4 controllers are availble for sale in a number of shops already.  I've long decided to buy the PS4 as well as a second Dualshock 4 controller, so I've been considering buying the "second" controller now in order to replace my old Xbox 360 controller, whose D-Pad is useless and whose RB button no longer responds correctly. But before I buy the Dualshock 4 early, I wanted to know how well my PC will support it.  I already know that , but what exactly does work, and what doesn't?  Can I expect the same key-mapping on the PC as on a PS4?  Basically, can I replace my Xbox 360 controller with a Dualshock 4 and still play games like Batman Arkham Asylum/City/Origins as if I were using the old Xbox 360 controller? How to Create a Vinyl Plastic Toy Shader? How can I make one of the vinyl toy plastic material like this?    Video: How do you prove that $\sqrt{2} + \sqrt{5}$ is irrational?    I tried to prove it by contradiction and got this equation:  $a^2/b^2 = \sqrt{40}$. How to solve and see resolution of $13^{53} \pmod 7$ using Fermat little Theorem? When to use the double not (!!) operator in JavaScript Alright, when I run certain commands the wrong way, (misspelled, etc.) The terminal outputs this: &gt; instead of computername:workingfolder username$, and when I type enter it goes like this:  &gt;  &gt;  &gt;   That would be if I pressed enter 3 times. Disabling module with config sync and removing with composer I have an issue disabling modules, I've searched but cannot find something useful:  - Developer A disable module and via composer remove it  - I pull his changes so i run composer install that remove the code, then drush cim to update configuration, but it complains that the module is missing while it's trying to delete its configurations.  What's the right way to do this? I can't import config before running composer install because along the uninstalled module there could be also new modules needed for the configuration import. Why does reputation start at 1, and have a lower bound of 1? If a user is the type of person to consecutively get downvoted to potential negative reputation, so be it. What's the reasoning to maintain a minimum of one?  One reason that may justify this is of trying to not deter new users from the site who haven't read the FAQ and unknowingly and wrongly ask or answer a question. But most of us acknowledge this and not downvote in such a scenario.  So what's the reasoning behind this lower bound of 1? Why is.vector on a data-frame doesn't return TRUE? Here are two examples of what I mean:   I am sure you all too have experienced this frustration before. A dialog box opens that displays only part of a long string (e.g. a file path), but won't allow you to select the text so you can read the full string. Neither text container will resize upon window resizing. (By the way, you can force windows —specially dialog boxes— to resize with tools such as , but helps little in this case, since controls are fixed-width.) The text is hidden, period. Copying a very long drop-down list control contents to a text file.   Do you know any way to solve these problems?