this keyword inside jQuery
How to determine equality for two JavaScript objects?
Recommendations on a free library to be used for zipping files I need to zip and password-protect a file. Is there a good (free) library for this?  This needs to be opened by a third party, so the password protection needs to work with standard tools. I was speaking to an English learner and said, “All you have to do is read a lot.” And they thought that sentence wasn’t grammatically correct because I dropped the word to between is and read.  They thought it should be “All you have to do is to read a lot.” That sounds weird to me.   How do I explain to them the reason you drop the to? Or am I incorrect and it really should have a to? My little brother is just getting into programming, and for his Science Fair project, he's doing a simulation of a flock of birds in the sky. He's gotten most of his code written, and it works nicely, but the birds need to move every moment.  Tkinter, however, hogs the time for its own event loop, and so his code won't run. Doing root.mainloop() runs, runs, and keeps running, and the only thing it runs is the event handlers.  Is there a way to have his code run alongside the mainloop (without multithreading, it's confusing and this should be kept simple), and if so, what is it?  Right now, he came up with an ugly hack, tying his move() function to &lt;b1-motion&gt;, so that as long as he holds the button down and wiggles the mouse, it works. But there's got to be a better way. I have just had my broadband upgraded to  which means my router has had to change. Previously I was using a Thomson TG585v7 ADSL thingy provided by my ISP. One nice thing about that router was that it would act as a local DNS and allow me to find my other machines on the network by using &lt;hostname&gt;.lan instead of IP addresses.  I've now switched to a Linksys WRT320N ethernet router which connects to my fibre modem, and which I've updated to the latest firmware (1.0.04). I have 2 machines on the network which I regularly want to connect to each other; one is running Windows 7 and the other is running OS X Lion.  The problem I'm having is that I'm unable to connect to my Win7 machine from the OS X machine using the Win7 machine's name. However, I'm able to ping the OS X machine from my Win7 machine using the hostname. How to prove that a limit does not exist? Let $x \in \mathbb{R}$ and let $\lfloor y\rfloor$ be the largest integer less than or equal to $x$. $$ f(x) = \frac{1}{x} - \left\lfloor\frac{1}{x}\right\rfloor$$ How does one prove that the $ \lim_{x\to 0} f(x)$ does not exist by using a Epsilon Delta proof? There is a hint given that you can use a proof by contradiction. Why are votes anonymous? Let's make with the transparency and have them publicly attributed $\int_0^\infty \frac{\sin(x^2+ax)}{x}\,dx$ converges I want to show that the following converges for $a\ge 0$ $$\int_0^\infty \frac{\sin(x^2+ax)}{x}\,dx$$  We can show that $\lim_{x\to 0} \frac{\sin(x^2+ax)}{x} = a$, and with that fact it's straightforward to prove that $$\left|\int_0^\delta\frac{\sin(x^2+ax)}{x}\,dx \right|&lt; \infty$$ where $\delta &gt;0$ is a constant.  However I'm having trouble showing that the function decays quickly enough as $x$ goes to infinity. I know how to prove this when taking the integral of $\sin(ax)/x$, but that $x^2$ is causing me problems.  Any ideas? Thanks. find an approximate solution, up to the order of epsilon The question is to find an approximate solution, up to the order of epsilon of following problem.  $$y'' + y+\epsilon y^3 = 0$$ $$y(0) = a$$ $$y'(0) = 0$$  I tried to solve the given problem using perturbation theory.  $$y(t) = y_0(t) + \epsilon y_1(t) + \epsilon^2 y_2(t) + \cdots$$ $$t = w(\epsilon)t = (1 + \epsilon w_1 + \epsilon^2 w_2 + \cdots )t$$  However, i failed to find an appropriate approximate solution... help me!! In ideal gas model,  is the measure of average kinetic energy of the gas molecules. If by some means the gas particles are accelerated to a very high speed in one direction, KE certainly increased, can we say the gas becomes hotter? Do we need to distinguish the random vibration KE and KE in one direction?  Furthermore, if we accelerate a block of metal with ultrasonic vibrator so that the metal is vibrating in very high speed with cyclic motion, can we say the metal is hot when it is moving but suddenly become much cooler when the vibration stop? My Folders Become Hidden System Files And Access Denied? I have an external hard disk , just connected to another system and when i connected to my own computer one of my folders which contain photos become hidden system files AND all folders in it rename to same name !?!? and my access is denied ( Screenshot )    I tried to change ownership but i can't  Any solution !? 9 rows is just way too small by default. Is this a text-editor for ants? Why is the node editor showing different kinds of nodes? Answers no longer sorted by score/votes How do I attach events to dynamic HTML elements with jQuery? print IP address with interface name I want to show the IP address like below  lo : 127.0.0.1  eth0 : 192.168.5.123 eth1 : 192.172.0.212 wlan0 : 10.1.0.124   I'm able to print all IP address by ifconfig | awk '/inet addr/{print substr($2,6)}'. But it is only printing the IPs. Every system have their own interface names and addresses. So my script has to show their interfaces with respect to IP addresses. I have a problem called "The Prison Problem" that I need to explain to my 9-year-old cousin. I would think that he has just started learning about divisors and perfect squares, and as such, I have a proposed solution. Any input from you guys would be welcome, as to what is the best way to go about this.  Problem:  There was a jail with 100 cells in it, all in a long row. The warden was feeling very jolly one night and told his assistant that he wanted to give all the prisoners a wonderful surprise. While they were sleeping, he wanted the assistant to unlock all the cells. This should be done, he told the assistant, by putting the key in each lock, turning it once. The assistant did this, then came back to report that the job was done. Meanwhile, however, the warden has second thoughts. "Maybe I shouldn't let all the prisoners free," he said. "Go back and leave the first cell open, but lock the second one (by putting the key in and turning it once). Then leave the third open, but lock the fourth, and continue in this way for the entire row." The assistant wasn't very surprised at this request as the warden often changed his mind. After finishing this task, the assistant returned, and again the warden had other thoughts. "Here's what I really want you to do," he said. "Go back down the row. Leave the first two cells as they are, and put your key in the third cell and turn it once. Then leave the fourth and fifth cells and turn the key in the sixth. Continue down the row this way." The assistant again did as instructed. Fortunately, the prisoners were still asleep. As a matter of fact, the assistant was getting pretty sleepy, but there was no chance for rest yet. The warden changed his mind again, and the assistant had to go back again and turn the lock in the fourth cell and in every fourth cell down the row. This continued all through the night, next turning the lock in every fifth cell, and then in every sixth, and on and on, until on the last trip, the assistant just had to turn the key in the hundredth cell. When the prisoners finally woke up, which ones could walk out of their cells?  Proposed solution:  Ten cells are left open after this process. Every cell that is a perfect square will remain open (1, 4, 9, 16, 25, 36, 49, 64, 81, and 100). If a number is not a perfect square, then it has an even number of divisors, therefore it will be "toggled" an even number of times and end up where it started (closed). Perfect squares have an odd number of divisors, so they will end up the opposite of where they started (open). Dashed line and Wireframe Is it positive or negative for the average website to allow search engines to index user comments? I've been trying to answer this question myself by researching and searching on google but I haven't been able to come with a final answer. I have some hypothesis I would like share anyway:   The average website intends to reach the higher audience possible. User generated content by comments is an efficient way of increasing the relevance and the valuable information of the average website. Indexing comments will make any site attractive to spammers. Indexing comments is more convenient for new/low-traffic websites than it is for old/high-traffic websites. The web in general is currently choosing not to index comments in the average website because of fear to the SPAMMERS. The average author of a content-valuable comment would like his comment to be indexed Not indexing comments discourages the creation of content-valuable comments.   So, what do you think finally? Is it positive or negative for the average website to allow search engines to index user comments? Why? Dragon souls not activating new words So if I understand correctly you can learn new words and the souls will activate these words. I just killed a dragon and when it died it looked like I absorbed the soul but it didn't unlock any of the words I have.   I noticed some dragons actually have a name so do certain dragons unlock certain words? Neutron decay and electron anti neutrino $n\to p + e + \bar{\nu}_e$ Why do we need neutrino to explain neutron ? Is there any evidence regarding existence neutrinos in the context of $n\to p + e + \bar{\nu}_e$?