Passing a button with id with jQuery .html() function
Event binding on dynamically created elements?
In iOS 6 and below I could double tap the home button, tap and hold an app, and  click the red - to close an application(s).  In iOS 7 this does not work. How can I restart an app that's exploding without resetting the entire OS? How to look up a symbol or identify a letter from a math alphabet or other character? no space left in '/' but a lot space left in '/home' i install ubuntu and followed a guide to put 20gb in '/' and the rest (150gb) in '/home'. Now i just found out that a lot of the things installed in ubuntu usually goes to '/' instead of '/home'. I have a lot more things to install.  So what is the point of '/home' ? How do I fix this ? Should I transfer 150gb from '/home' to / ?  Filesystem      Size  Used Avail Use% Mounted on udev            7.8G     0  7.8G   0% /dev tmpfs           1.6G  9.5M  1.6G   1% /run /dev/sda6        19G   16G  1.8G  91% / tmpfs           7.8G  676K  7.8G   1% /dev/shm tmpfs           5.0M  4.0K  5.0M   1% /run/lock tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup /dev/sda2        96M   29M   68M  31% /boot/efi /dev/sda8       159G  1.1G  150G   1% /home tmpfs           1.6G   56K  1.6G   1% /run/user/1000   what is /boot ? Its not '/' or '/home' What is a good way of parsing command line arguments in Java? Best practice for Rails App to run a long task in the background? I have a Rails application that unfortunately after a request to a controller, has to do some crunching that takes awhile.  What are the best practices in Rails for providing feedback or progress on a long running task or request?  These controller methods usually last 60+ seconds.    I'm not concerned with the client side... I was planning on having an Ajax request every second or so and displaying a progress indicator.  I'm just not sure on the Rails best practice, do I create an additional controller?  Is there something clever I can do?  I want answers to focus on the server side using Rails only.  Thanks in advance for your help.  Edit:  If it matters, the http request are for PDFs.  I then have Rails in conjunction with Ruport generate these PDFs.  The problem is, these PDFs are very large and contain a lot of data.  Does it still make sense to use a background task?  Let's assume an average PDF takes about one minute to two minutes, will this make my Rails application unresponsive to any other server request during this time?  Edit 2:  Ok, after further investigation, it seems my Rails application is indeed unresponsive to any other HTTP requests after a request comes in for a large PDF.  So, I guess the question now becomes: What is the best threading/background mechanism to use?  It must be stable and maintained.  I'm very surprised Rails doesn't have something like this built in.  Edit 3:  I have read this page: .  I would love to read about various experiences with these tools.  Edit 4:  I'm using Passenger Phusion "modrails", if it matters.  Edit 5:  I'm using Windows Vista 64 bit for my development machine; however, my production machine is Ubuntu 8.04 LTS.  Should I consider switching to Linux for my development machine?  Will the solutions presented work on both? I was getting the usual 4-8mbps in 12.04 when copying files via usb sticks. However after upgrading to 12.10, I only get 200-300kbps when I try to perform the same operation.   I have tried different usb sticks (which work flawlessly on Windows 7) and still experience the same issue. I experienced the same issue sometime ago on 11.10 but everything was normal when I upgraded to 12.04 so it might be a kernel issue.  Here's the output of dmseg |tail:      mysterio@mysterio-HP-Pavilion-dv6700-Notebook-PC:~$ dmesg |tail   [  871.023093] sdb: sdb1  [  871.026909] sd 5:0:0:0: [sdb] No Caching mode page present  [  871.026920] sd 5:0:0:0: [sdb] Assuming drive cache: write through  [  871.026927] sd 5:0:0:0: [sdb] Attached SCSI removable disk  [ 1036.226206] ISO 9660 Extensions: Microsoft Joliet Level 3  [ 1036.233561] ISO 9660 Extensions: RRIP_1991A  [ 1086.342973] ISO 9660 Extensions: Microsoft Joliet Level 3  [ 1086.343010] ISO 9660 Extensions: RRIP_1991A  [ 1173.971357] ISO 9660 Extensions: Microsoft Joliet Level 3  [ 1173.971441] ISO 9660 Extensions: RRIP_1991A   I have updated my system with the latest updates. What could be wrong? Can we escape Earth's gravity slowly? I had a recent conversation with my girlfriend, who is a physics grad student. She was kind enough to listen to me rant about an idea concerning escape velocity. Unfortunately, I am still thinking about this question, but don't want to bother her with it.  My thought is that we shouldn't actually need to reach 11km/sec to leave the earth's gravity. Instead of this, can we simply apply enough force to overcome earth's gravity without reaching that speed? How we would do this is not a part of my question.  Orbital altitude is $99$ miles. Travelling $60$ mph straight up should get you there in $1.65$ hours, granted you have enough force to push. I know some of the simpler math like $F=ma$, but that didn't help me understand.  I browsed some articles about space elevators and couldn't find my answer.  Then I thought about a regular elevator and the fact that it has enough force to move it away from the earth successfully. Even if the elevator moved at $1$ nanometer/sec, it would still move away from the Earth, overcoming the minute pull of gravity at that altitude.  If you missed it, my question was:  can we simply apply enough force to overcome Earth's gravity without reaching that speed?  Edit: In another example, let's say we could drive a car from here to low Earth orbit. As long as we had enough torque, we should be able to overcome gravity, much like a pickup truck pulling a bunch of lumber. Is that correct? When reviewing flags, either from the queue or from the flagged post, I often want to know what the flagger could have done in addition to, or instead of, flagging for mod attention.  Does he have the rep to downvote?  To comment?  To vote to delete?  Knowing this doesn't necessarily affect how I handle the flag, but if there's a possible teaching moment there I use the flag response to point it out.  But I can't find this out unless I click through to the user's profile (unless I already know this user, of course).  Would it be possible to get the flagger's reputation in a tooltip, like what's already done for comments? Own table of contents? Difference between Simple Past and Past Perfect What is the difference in meaning between the two examples below?   When she returned home from office, she was shocked to see that her husband and daughter were missing. (Simple Past)  When she returned home from office, she was shocked to see that her husband and daughter had been missing. (Past Perfect)    FIRST QUESTION: For me example #1 gives only idea of Status of her missing husband and daughter and example #2 gives idea of completed action/situation of missing husband and daughter before she reached home. Is this right? SECOND QUESTION: Is example #2 past perfect or past perfect continuous? Installation problem QGIS I do not manage to install QGIS on my windows 10 machine using the osgeo4w installer.  During the installation I get this message:   At the end of the installation I get this message:   And when I subsequently try to run QGIS, I receive this message:    Similar issue can be found in various fora, but none of them provides a conluding answer or did help me to solve the problem.  Any propositions? Uninstall apps locked by phone vendor I'm using a Samsung I9000 and I have some annoying apps that came pre installed by the phone vendor, like a music store, a custom web browser and other memory leaking apps.  Those crappy apps can't be uninstalled neither by Manage applications tool, nor by editing the apps tiles in the front menu.  I guess I have to be a root user or something to get rid of those apps, but I don't know how. Inform users of certain tags on the existence of a new SE-2.0 site and offer to automatically post the question there instead Take for example  both at SO and SU. Now that there's , (new) users asking a LaTeX question should at least be informed that there is a new Stack Exchange site dedicated to TeX and thus increases their chance of an answer. This should happen before the question is actually posted and ideally offer the option to post the question directly there instead (without the need to copy-paste).  LaTeX is just an example, there's also , ,  etc., and it is obvious that this can only be decided on a case-by-case basis which is why I certainly do not suggest migrating questions automatically when these tags are used. But informing users of that possibility would probably help the SE network in general. Is there a way to determine what version (distribution &amp; kernel version, I suppose) of Linux is running (from the command-line), that works on any Linux system? Why does the atmosphere rotate along with the earth? I was reading somewhere about a really cheap way of travelling: using balloons to get ourselves away from the surface of the earth. The idea held that because the earth rotates, we should be able to land in a different place after some time. As we all know, this doesn't happen.  Someone said that the reason why this doesn't happen is because the atmosphere (air, clouds etc.) also revolves around the earth (with the same angular velocity as the earth's rotation). Since we are also part of the atmosphere, our position doesn't change relatively.  Well, I'm not convinced with that answer. Why does the atmosphere rotate along with earth?  Gravitational force is towards the centre of the earth, but I don't see how it's making the atmosphere rotate. Following , this is how we correctly make the r sound:   Let the throat vibrate since it is voiced. Round the lip a little. Raise the tip of the tongue towards the hard bump behind the upper front teeth,  but do not let the tip of tongue touch the bump. This also makes the center of the tongue go down. The back part of the tongue is raised because you pull it into a tight ball Fold and raise the sides of the tongue so they touch the upper side-teeth.   If we follow the above requirement, our tongue should have an s shape when we pronounce the r sound as depicted in the following sketch:    Is it possible to raise the tip while raising the back and lowering the center of the tongue when making an r sound?   How do native speakers make an r?  P.S. My tongue is very short anyway! How to limit charging to a user defined limit? My UleFone Armor 2 has a 4700mAh battery and I would like to limit the charging to 60% to reduce battery aging. The batteries in most of the phones are not user-replaceable and I am worried that a factory/service battery replacement might affect water resistance negatively.  How can I limit the charging to 60%? (But not limiting charging speed. I love fast charging.)  Lenovo ThinkPads have a built-in feature that does this, called “battery preservation mode”. From a toggle to an impulsion I'm trying to make a circuit (with no programmable circuits, only logic gates, flip flops and latches) that outputs a short impulsion each time it's input toggles from 0 to 1. Do you have any idea of how to do so? Why are relays so frequently driven by optocouplers? Input string was not in a correct format