I have a file like this for my html:  &lt;div id="append"&gt;      &lt;div class="sample"&gt; Sample Text 1 &lt;/div&gt; &lt;/div&gt;   In my jquery file, this is what i do to append the rest of the divisions,  $.each([ 2,3,4,5,6,7,8,9,10 ], function( index, value ) {       $('#append').append("&lt;div class="sample"&gt; Sample Text "+ value.toString() + " &lt;/div&gt;"); });   The problem that I am having is that the appended divisions (Sample Text 2 and more) cannot detect a mouse enter event. I tested it by doing this:  $("div.sample").mouseenter(function(){     alert("Mouse Enter Event Detected"); });   I only get the alert when hovering over the first div.sample. The appended divisions does not seem to detect it.  What can I do to detect mouseover event for the appended divisions?
I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.
Reason behind choosing the compensating resistor for input bias current in op amps I found the following explanation online on determining the values used for the compensating resistor:  In either case, the compensating resistor value is determined by calculating the parallel resistance value of R1 and R2. Why is the value equal to the parallel equivalent of R1 and R2? When using the Superposition Theorem to figure how much voltage drop will be produced by the inverting (-) input's bias current, we treat the bias current as though it were coming from a current source inside the op-amp and short-circuit all voltage sources (Vin and Vout). This gives two parallel paths for bias current (through R1 and through R2, both to ground). We want to duplicate the bias current's effect on the noninverting (+) input, so the resistor value we choose to insert in series with that input needs to be equal to R1 in parallel with R2.  Although it is a 'crisp' and simple explanation, I don't understand how it is true, since the current flowing through R2 won't directly go to the ground, but will probably enter the op-amp at the output (op-amp as a current sink). Also, it might go through a few more resistances before going to the ground, since Vout isn't directly connected to the ground. Python: access class property from string Is the set $S=\left\{\left(z_1,z_2\right)\in \mathbb C\times \mathbb C:z_1^2+z_2^2=1\right\}.$ compact? Consider the set $$S=\left\{\left(z_1,z_2\right)\in \mathbb C\times \mathbb C:z_1^2+z_2^2=1\right\}.$$  Is this set compact in $\mathbb C^2$ ?  As $\mathbb C^2$ is a finite dimensional space so a subset of it is compact if and only if it is closed and bounded.  But $z_1^2+z_2^2=1$ gives $(x_1^2+x_2^2)-(y_1^2+y_2^2)=1$ and $x_1y_1+x_2y_2=0$ , where $z_1=x_1+iy_1$ and $z_2=x_2+iy_2$.  But from here how I can show that the set is closed and bounded ? How to make 7-zip do a whole bunch of folders I got a bunch of pictures that I had to crop into 800x600 pixels. That was easily done, but now I have to upload them so the family can see them all.  Thing is, this is 500MB in pictures. I decided to simply zip the separate folders, which each contain an almost equal amount of pictures. This way I can upload a couple each day. Doing this manually is a very long and hard job. I wonder if there is a way to make 7-zip handle each folder individually?  I think I'll need a batch file to do it, but I'm not good with that. I've put everything under one folder. In the various subfolders is where the pictures are located. What I need is for the contents of that folder to be zipped. I'm not sure if I can just zip the folder along with it. I know PHP has a zip module, I've just never worked with it, so I'm not sure whether it can handle the fact that the content of the zip is a folder which contains the items, instead of just the items. Show the Dihedral Group $D_n$ is generated by rotations and reflection along the x axis. If I make a scene and then render it with BR or Cycles, am I allowed to use that image in a commercial project? Do I need to include any copyright notice or license? How can I add a right-click desktop menu entry to create a text file to Gnome 3 in Ubuntu 16.04.02? What is a decoupling capacitor and how do I know if I need one? What is a decoupling capacitor (or smoothing capacitor as referred to in the link below)?  How do I know if I need one and if so, what size and where it needs to go?    mentions many chips needing one between VCC and GND; how do I know if a specific chip is one?   Would an  4-bit parallel access shift register used with an Arduino need one? (To use my current project as an example) Why or why not?  I feel like I'm starting to understand the basics of resistors and some places they're used, what values should be used in said places, etc, and I'd like to understand capacitors at the basic level as well. Adding shapefile or feature class as layer in ArcMap using ArcPy I know that Wubi is slower in disk IO, but I can't find anything about it online other than vague statements such as "slightly slower disk seeks".  Has anyone done any benchmarks to quantify the speed difference? What is the difference between Python's list methods append and extend? What's the difference between the list methods append() and extend()? How to convert URL parameters to a JavaScript object? Error: You are missing the following 32-bit libraries, and Steam may not run: libXtst.so.6 [...] I'm aware that many people are having problems on launching Steam (downloaded from Steam not the repos) on Ubuntu 16.04 64-bit with this error message:  svetlana@svetlana-desktop:~$ steam Running Steam on ubuntu 16.04 64-bit STEAM_RUNTIME is enabled automatically Error: You are missing the following 32-bit libraries, and Steam may not run: libXtst.so.6 libXrandr.so.2 libgobject-2.0.so.0 libglib-2.0.so.0 libgtk-x11-2.0.so.0 libpulse.so.0 libgdk_pixbuf-2.0.so.0 Installing breakpad exception handler for appid(steam)/version(1463778979) Installing breakpad exception handler for appid(steam)/version(1463778979) Installing breakpad exception handler for appid(steam)/version(1463778979) Installing breakpad exception handler for appid(steam)/version(1463778979) [2016-05-22 16:33:15] Startup - updater built May 20 2016 18:57:58 [2016-05-22 16:33:15] Opted in to client beta 'publicbeta' via beta file You are in the 'publicbeta' client beta. Looks like steam didn't shutdown cleanly, scheduling immediate update check [2016-05-22 16:33:15] Checking for update on startup [2016-05-22 16:33:15] Checking for available updates... [2016-05-22 16:33:15] Download skipped by HTTP 304 Not Modified [2016-05-22 16:33:15] Nothing to do [2016-05-22 16:33:15] Verifying installation... [2016-05-22 16:33:15] Performing checksum verification of executable files [2016-05-22 16:33:15] Verification complete [2016-05-22 16:33:16] Shutdown   My question has anyone found a solution yet? Show OPs if someone is answering, live I ask a lot of question on SO, so this recommendation/idea comes from that experience. I'm not really sure how this would fit in with the current structure of SE.   Oftentimes after asking a question, maybe after an hour or so, I end up finding the answer I needed somewhere. And it comes time for me to answer the most difficult question of all: do I delete this question, or do I keep it in case someone answers and others may benefit from it. The problem is, if I don't delete it and no one answers, my acceptance rate goes down. So usually I'll just delete it.  However, sometimes I fear that someone is typing a really really long answer to my question since itäs only been an hour, and so I imagine the nightmare that person experiences when they find out their essay will be gone to waste. Overall, this never-to-be-seen-again answer could have benefitted many people had the question remained.  Since SE has gone "live-happy" lately, where answers and comments refresh live, I thought it might be interesting if the original asker of the question (or anyone else for that matter) could see how many people are currently responding to the question (just count, not necessary to display their names). This way, if I know someone is replying, I won't delete the question, and others can benefit from it. Separate Models vs Flags in the same model I have customer data from 2 brands. The data structure are the same, but I expected the customer behaviour to be different in different brand.  So I could train 2 models, 1 for each brand, or I could train one model on both brands, but flag which brand the customers belongs to within the data.  So my question is, would training on both brands with flags be too much more work for the Machine Learning (I'm using neural network), and therefore be harder to achieve good accuracy than to have dedicated models for each brand? How can I customize a system locale? Learning special relativity and working with Minkowski diagrams for a while now i am still trying to get my head around some oddity.   From my understanding time can often be seen as the dependent variable in those diagrams, so why put it to the vertical axis? What confuses me even more is the apparent convention to denote a point in space time $(t,x)$ even though $x$ is on the horizontal and $t$ is on the vertical axis, so the usual notation would be to refer to that vector as $(x, t)$.  Are there mostly historical reasons or why is it beneficial to use this notation and to violate usual conventions? Group of $r$ people at least three people have the same birthday? What is the probability that in a randomly chosen group of $r$ people at least three people have the same birthday?   $\displaystyle 1- \frac{365\cdot364 \cdots(365-r+1)}{365^r}$   $\displaystyle \frac{365\cdot364         \cdots(365-r+1)}{365^r} +{r\choose 2}\cdot \frac{365\cdot364\cdot363 \cdots         (364-(r-2) +1)}{364^{r-2}}$  $\displaystyle 1- \frac{365\cdot364             \cdots(365-r+1)}{365^r} +{r\choose 2}\cdot \frac{365\cdot364\cdot363 \cdots (364-(r-2) +1)}{364^{r-2}}$  $\displaystyle\frac{365\cdot364 \cdots(365-r+1)}{365^r}                 $     My attempt :  (May be typo in option $(3)$ of question !)  $$P(\text{at least 3 persons have same birthday})$$  $$= 1 - \{P\text{(no one has same birthday) + P(any 2 have same birthday)\}}$$  So, option $(3)$ is true.     Can you explain it, please?   It  before,  but I'm not satisfied by explanation. $n\ge 8\,\Rightarrow\, n = 3j + 5k\ $ for $\,j,k,n\in \Bbb N$ I'm new to Math Induction, I don't know how it goes from $𝑘 + 1 = 3𝑥 + 5𝑦 + 1$ into $5𝑦 = 5𝑦 − 5 + 5.$  I'm trying to prove that:   Any whole number of at least 8 cents can be obtained using coins of 3 and 5 cents  Assume: There is a number $𝑘$ for which there are $𝑥$ and $𝑦$ such that $𝑘 = 3𝑥 + 5𝑦$  Here's my working:  $𝑘 = 3𝑥 + 5𝑦$  Therefore $𝑘 + 1 = 3𝑥 + 5𝑦 + 1$  $5𝑦 = 5𝑦 − 5 + 5$  $5𝑦 = 5 𝑦 − 1 + 5$  $𝑘 + 1 = 3𝑥 + 5𝑦 + 1$  $𝑘 + 1 = 3𝑥 + 5(𝑦 − 1) + 5 + 1$  $𝑘 + 1 = 3𝑥 + 5(𝑦 − 1) + 6$  $𝑘 + 1 = 3(𝑥 + 2) + 5(𝑦 − 1)$  $𝒌 + 𝟏 = 𝟑𝒙' + 𝟓𝒚'$ This option, which was present in the "Mouse and Touchpad" settings panel in previous versions, is for some reason absent in 16.04 LTS. Does anyone know why this is, and/or how to fix it? Thanks.