add and remove jquery li element
Event binding on dynamically created elements?
I know that there is a very similar question, but I'm not interested in highlighting. What I'm looking for is some tool in Linux to edit pdf files. I've tried pdfedit which did the work for me, but if freezes after a few edits. I've tried this tool under Ubuntu 9.10 and under KDE Fedora 14 and the same thing happens. I've tried Okular but the notations are too big to fill out exercises from pdf workbooks.    Is there any tool that suits this job? I don't care whether it is open source or I have to pay a reasonable price for it. Some movies feature child characters put in violent situations. This can range from crude language to extreme horror (e.g. torture, gore, etc.). As an example,  and its sequel has plenty of those scenes. It looks like a paradox that children can be actors in movies that are definitely not for children.  Do the directors usually try and avoid exposing the very young actors to the violence of such scenes, e.g. by clever dubbing and editing? Are there laws that require them to do so, just like there are ratings that prevent children from seeing some movies? How and why do normalization and feature scaling work? I see that lots of machine learning algorithms work better with mean cancellation and covariance equalization. For example, Neural Networks tend to converge faster, and K-Means generally gives better clustering with pre-processed features. I do not see the intuition behind these pre-processing steps lead to improved performance. Can someone explain this me? Python import coding style I've discovered a new pattern.  Is this pattern well known or what is the opinion about it?  Basically, I have a hard time scrubbing up and down source files to figure out what module imports are available and so forth, so now, instead of  import foo from bar.baz import quux  def myFunction():     foo.this.that(quux)   I move all my imports into the function where they're actually used., like this:  def myFunction():     import foo     from bar.baz import quux      foo.this.that(quux)   This does a few things.  First, I rarely accidentally pollute my modules with the contents of other modules.  I could set the __all__ variable for the module, but then I'd have to update it as the module evolves, and that doesn't help the namespace pollution for code that actually lives in the module.  Second, I rarely end up with a litany of imports at the top of my modules, half or more of which I no longer need because I've refactored it.  Finally, I find this pattern MUCH easier to read, since every referenced name is right there in the function body. Was the chip real or fake? I'm talking about the movie  Spoilers ahead.  Walter (Daniel Radcliffe) gave the task or blackmailed the Four Horsemen to steal a chip from a lab which can access any digital device. So they did steal the chip. And when they rescue Dylan Rhodes (Mark Ruffalo) from drowning in the water, Jack Wilder said that the chip is fake.     Jack: Wait something is not right.      Atlas: What's wrong?      Jack: It's fake.   Then they assumed that Walter did not know that the chip is fake. So they came with a plan to bluff. They pretended that they had the real chip. After they got caught by Walter, they gave the fake chip to Walter. Walter checked the chip and declared it as real. The Four Horsemen were surprised.     Walter: I'm sorry to interrupt. But I have to say congratulations and   thank you. It's real.      Lula: What? It's real!!!!!      Atlas: What? Is it real?      Jake: What is he talking about?   What happened? I didn't get it. What did I miss? Was the chip real? Was Walter pretending it to be real? If so, then why? If not, who switched the real chip with the fake one? Who had the real chip before? How do I theme the Nautilus background image? I want to change the background image in the Nautilus file browser. My idea is to put my own style in the background. I'm using Ubuntu 11.10 and Nautilus is version 3.  I know that I have to change the nautilus.css file of the theme, but the problem is that there is not a parameter for the background. I just want to apply an image but I can't find the file or parameter to change it.  The CSS file is in the directory /home/UserName/.theme/MyTheme/gtk-3.0/apps. I've changed the nautilus.css file. I wrote two new lines using CSS style but I don't know where the correct place is to put it. The lines are:   background-image: url("carbon.jpg"); background-repeat: repeat;   Obviously I put the image called carbon.jpg in the same directory of nautilus.css, but this change doesn't work because I need to know whichs class displays the Nautilus file browsing frame. If I find this class I guess that this code will work.  If someone knows how to do it, please tell me because I really want to make this change. Why do all SSH-RSA Keys begin with "AAAAB3NzaC1yc"? How do I copy vertex groups from one object to another? So, I decided that a previous project contained exactly what I needed to expedite a new project, so I appended the appropriate objects form the previous project to the new one. This was great, because I didn't have to define new materials, &amp;c.   Regrettably, though, I found out that when it came to vertex groups, where it would have been as helpful to be able to copy vertex groups from one object to another as it was to copy materials, I couldn't figure out how to do so.   Am I looking for a feature which does not yet exist?  NOTE: I did not expect the vertex groups to have assignments in the target objects, but it would have been handy not to have had to retype 25 names. syntax error in case 'remove' when decrementing How do I convince someone that $1+1=2$ may not necessarily be true? Me and my friend were arguing over this &quot;fact&quot; that we all know and hold dear. However, I do know that $1+1=2$ is an axiom. That is why I beg to differ. Neither of us have the required mathematical knowledge to convince each other. And that is why, we decided to turn to Math Stackexchange for help. What would be stack's opinion? Why does "stigmata" [often] have penult stress? I have been studying the pronunciation of Greek-derived words in English, and I've found an odd anomaly. There are (at least) two possible pronunciation patterns for plural word-forms that end in -&#8288;mata (which correspond to singular word-forms that end in -&#8288;ma).   Antepenult stress (expected)  It appears that it is always possible to place the stress on the antepenult (third-to-last) syllable, such as:    /ˈlɛmə/, /ˈlɛmətə/  /ˈskiːmə/, /ˈskiːmətə/  /ˌtɛrəˈtoʊmə/, /ˌtɛrəˈtoʊmətə/~/ˌtɛrəˈtɒmətə/  /ˈstɪɡmə/, /ˈstɪɡmətə/   This is what would be expected from  (I believe most or all of these words came through Latin before entering English), since the penultimate "a" in the original Greek words is short.  Maybe Latin vowel quality and stress rules are not very relevant; certainly, few English speakers know about them nowadays. And even with antepenult stress, some of these pronunciations do not seem to follow all of the traditional rules for pronouncing Latin-derived terms in English. I was reminded by some comments in this  that  in antepenult stressed syllables, we would expect tense ("long") vowels to be shortened due to  (TSL), yielding pronunciations like /ˌtɛrəˈtɒmətə/ (which I just noticed is in fact listed in the Oxford English dictionary) and ?/ˈskɛmətə/ (which is not). (Compare to genus~genera /dʒiːnəs/~/dʒɛnərə/, and perhaps opus~opera /oʊpəs/~/ɒpərə/). However, there are other Latinate plural forms that typically don't have trisyllabic laxing (matrices, also I think helices), or where both the lax- and tense-voweled pronunciations coexist (codices, apices), so I guess the apparent lack of it in schemata should not be surprising. (There are even some exceptions to TSL in singular nouns like obesity.)  Penult stress (unexpected)  The other pronunciation seems to exist only for a couple of words, in which the penultimate "a" is commonly stressed and broadened: stigma ~ stigmáta  (listed by both the Merriam-Webster dictionary and the ), and also sometimes schéma ~ schemáta /skiːˈmɑːtə/ (listed only by the ). (Neither the Merriam-Webster dictionary nor the Oxford Learner's Dictionaries list *"lemmáta").  I'm wondering why this pronunciation exists. It's an irregular plural either way, and putting the stress on the penultimate syllable creates a stress change between the singular and the plural forms.  (It's true that all of these words are rare, and some people might pronounce some of their plurals differently. The pronunciations I give here are simply the ones listed in dictionaries.)  The plural form "stigmata" is probably most common in religious or theological contexts (where it refers to the wounds of Christ), so at first I wondered if the penultimate stress was supposed to be closer to the original Greek pronunciation, but according to , the stress is on the antepenult in Greek as well.  So, what's up with this? Did the stress perhaps change in Latin over time, is this a tradition of Greek accentuation that I'm not familiar with, is this a simple matter of ignorance of the original position of the stress that has now become entrenched with time and usage, or is this somehow explainable by established English stress patterns? (For example, do English speakers have some natural preference for a penultimate stress on polysyllabic words?)  If nobody knows of a reason, I suppose I can just put it down to people encountering the word mainly in text, not knowing which syllable to stress, and choosing the penult because it sounds better to them.  (I asked this question a while back on , but nobody knew of any reason.) Is $\int_{-\infty}^{\infty} \sin x \, \mathrm{dx}$ divergent or convergent? I was determining whether   $$\int_{-\infty}^{\infty} \sin x \, \mathrm{dx}$$  was divergent or convergent. So, I did the following steps:  $$\begin{align} \int_{-\infty}^{\infty} \sin x \, \mathrm{dx} &amp;= \int_{0}^{\infty}\sin x \, \mathrm{dx}+\int_{-\infty}^0\sin x \, \mathrm{dx} \\ &amp;=\lim_{t\rightarrow\infty} \left(-\cos x |^{t}_{0}\right) + \lim_{a\rightarrow-\infty} \left(-\cos x |^{0}_{a}\right)\\ &amp;=\lim_{t\rightarrow\infty} -\cos (t) + \cos 0 + \lim_{a\rightarrow-\infty} -\cos 0 + \cos a\\ &amp;=\lim_{t\rightarrow\infty}1 - \cos t + \lim_{a\rightarrow-\infty} -1+\cos a \end{align}$$  Now, at this point, it would be reasonable to say that both the limits are undefined and therefore, the integral is divergent but then if I try something like the following   \begin{align} \quad\quad&amp;=\lim_{t\rightarrow\infty}1 -\cos t + \lim_{a\rightarrow\infty} -1+\cos a \\ \quad\quad&amp;=\lim_{t\rightarrow\infty}-1 -\cos t + \lim_{a\rightarrow\infty} \cos a+1 \\ \quad\quad&amp;=\lim_{b\rightarrow\infty}-1 +\cos b - \cos b+1 \\ \quad\quad&amp;= 0 \end{align}  So, as you can see, it was shown before that the integral is divergent but with some manipulation, we came at an answer of $0$ but is that valid? I assume, a similar technique can be applied to $\int_{-\infty}^{\infty} \frac{1}{x} \, \mathrm{dx}$. 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? How can I prevent 'grep' from showing up in ps results? When I  search for some process that doesn't exist, e.g.  $ ps aux | grep fnord                           wayne    15745  0.0  0.0  13580   928 pts/6    S+   03:58   0:00 grep fnord   Obviously I don't care about grep - that makes as much sense as searching for the ps process!  How can I prevent grep from showing up in the results? Two Clash of Clans accounts on one device I have been playing on two clash of clans accounts on one device for a long time but just recently i cannot switch from my lvl17 to my lvl75. The switch villages option is not popping up for me and I don't know why. Can anyone help me get my main account back? How to check that a cubic polynomial is irreducible? du not accounting for space shown by df I have a CentOS 7.2 (minimal) VM running in a vSphere cluster, which has a 16G drive formatted as XFS under the default full-disk usage partitioning scheme from the CentOS installer. The system is running a test httpd service (all software from the default centos repos), but its space usage on disk is growing. This is in part from problematic apache error/access logs (2+GB in size), and removing these longs frees up some space. What is eating the drive space isn't so much a concern for me (I'll just nuke and pave this eventually). However, when I run df an du to check file sizes, I get a discrepancy and this is what's confusing.  First I run df -h to view filesystem usage:  [root@svrhttp03 httpd]# df -h Filesystem                         Size  Used Avail Use% Mounted on /dev/mapper/centos_svrhttp03-root   14G  4.8G  9.1G  35% / devtmpfs                           902M     0  902M   0% /dev tmpfs                              912M     0  912M   0% /dev/shm tmpfs                              912M   97M  816M  11% /run tmpfs                              912M     0  912M   0% /sys/fs/cgroup /dev/sda1                          497M  169M  329M  34% /boot tmpfs                              183M     0  183M   0% /run/user/0   This is showing 4.8G used on the root FS.  I then run the following to view the size of all items at the root of the filesystem:  [root@svrhttp03 httpd]# du -a -h -t 10K / 2&gt; /dev/null | grep -v -E "[A-Z,a-z,0-9]/." | sort -h 16K /home 7.4M    /root 31M /etc 97M /run 143M    /boot 324M    /var 1.3G    /usr 1.9G    /   This shows only 1.9G in use, and the reported size of all directories add up to ~1.9G, as expected.  So how can I find that ~2.9G discrepancy between what df and du are claiming for data on disk? How can I find unused functions in a PHP project Destroy chunked block like Minecraft How accurate is approximating the Earth as a sphere? What level of error do I encounter when approximating the earth as a sphere? Specifically, when dealing with the location of points and, for example, the great circle distances between them.  Are there any studies on the average and worst case error compared to an ellipsoid? I'm wondering how much accuracy I'd be sacrificing if I go with a sphere for the sake of easier calculations.  My particular scenario involves directly mapping WGS84 coordinates as if they were coordinates on a perfect sphere (with the  defined by the IUGG) without any transformation.