How can I pass file using javascript/jQuery/JSON/Ajax to Insert into database as a blob?
How can I upload files asynchronously with jQuery?
Execution of a command locally after ssh tunneling I have a script file ./run_app.sh which contains of the following:  ssh -L 8888:localhost:8888 ubuntu@address ./run_website.sh   # it should be executed locally   but it tries to run the second line on the remote machine. Actually, I want to run it on my pc. Any idea? What are the C++ coding and file organization guidelines you suggest for people who have to deal with lots of interdependent classes spread over several source and header files?  I have this situation in my project and solving class definition related errors crossing over several header files has become quite a headache. Zero probability and impossibility I read a comment under :     There are plenty of events that can occur that have zero probability.   This reminds me that I have seen similar saying before elsewhere, and have never been able to make sense out of it. So I was wondering    if zero probability and impossibility mean the same? if an event with zero probability doesn't mean that the event is impossible to occur, how probability theory represents/describes impossibility?   Thanks and regards! drupal 7 + services 3 - inserting nodes with select fields I'm using Drupal 7 + Services 3 to create nodes with POST and JSON. Everything works fine, except field types of select - entity reference select or plain text.  The entity reference uses the autocomplete widget, while the text select is a plain radio button.  This is the format I'm using:  "field_urgency": {     "und": [  {  "value": 1    }   ] } Do I have a virus on my phone? A message from an Android app says so I have just received a message from an Android app on my phone saying my phone has been infected with a virus and to click a link to fix the problem.   I'm not sure I trust this, is it possible to have a virus on Android? Does anybody know which files I need to save in order to have a simple backup?   Reason for my question is, that my Galaxy Android smartphone lost all calendar data without any interaction. I found tons of apps, tons of sync stuff, but NO simple list of files to save. I do NOT want to save my data remotely on Google.  There must be at least one local file (database?) on my phone containing the synced calendar file (on my server, using ICSSync) Can anyone suggest a book on using complex numbers to solve geometry problems? Can anyone suggest me a book which includes everything which is needed for solving simple geometry problems through it? I only know about simple calculations on complex numbers. “May I know your good name?” "May I know your good name” is a typically Indian way of honouring another person by asking their name using an adjective like sweet, good, beautiful, et cetera. Of course there won’t ever be any bad or sour name (unless we feel it such) when asking.   If this manner of asking someone’s name is incorrect or inappropriate, then how could I make it sound more polite and amicable without negotiating the basic principles of English? I plugged in my external harddrive (which was formatted on my Mac into HFS+ journaled) to my Ubuntu desktop 9.04 64bit.  I am not able to get the drive to mount with write capability, how do I do that?  Right now all I'm getting is read access, I tried  sudo mount -t hfsplus /dev/sdf2 /media/"Portable HD"   but that still gave me only read access...  ideas?? Mean Value Theorem: $\frac{2}{\pi}<\frac{\sin x}{x}<1$ Are there surface-mount pin header footprints for KiCAD? I'm designing a small module that breaks out a DIP SPI EEPROM to a 2x5 pin header socket(more info here: ). I want to mount the socket on the end of the board, with the pins lying parallel to the board.  I think two 5x1 surface-mount header footprints, on both sides of the board right near the end would do the job. Trouble is, KiCAD doesn't come with such a footprint(if it does, I haven't found it yet). Where might I find one? If one doesn't exist, that's OK; I'll have a shot at making my own. Why do I give my pets "food" but my livestock "feed"? When I feed my cat or my dog, the package tends to say "Dog Food" or "Cat Food."  In contrast, I give my chickens "chicken feed" or "poultry feed."  Likewise, a cow's silage is her "feed."  Why does this distinction exist?  Is there an historical or grammatical explanation, or is it merely idiom? I know I'm late with this; this could be the last bug report about the old topbar. But the text on the privilege progress indicator (on your profile page) appears above the dropdown menu coming from the Stack Exchange button, as can be seen in the picture below.     Changing the z-index property of .s-progress-bar._badge .-info, .s-progress-bar._privilege .-info from 2 to 1 solves the problem.    The new menu seems to have a high enough z-index so that this is no longer a problem anymore: Can you cast a spell learned from the Magic Initiate feat using spell slots? Can you cast a spell learned from the Magic Initiate feat using spell slots? Say I play a wizard who learns cure wounds by taking the Magic Initiate feat. Could I cast that spell using the Wizard's spell slots? Where can I find some guidance on index strategies? Username and Password not recognized when logging into Minecraft We just got a new laptop (ASUS) though we did have a mac.  We are trying to log onto Mojang to download Minecraft and it keeps saying, "The username and password are not recognized."   We have done all the usual procedures; we have reset the password, we are using the email, not the username to sign in, and it looks like the minecraft login servers are working etc. etc.  We quit Minecraft on the old computer and shut off that computer thinking that was the issue.   Still, we can't get onto Mojang.  We are accessing mincraft through firefox and trying to download it to the new computer but we can't get into the account to do that!  What in the world could be the issue? Easy way to remap non-modifier keys on Mac? I want to remap § to ` and ± to ~ on my Mac keyboard because they are located in a place I am not used to. Is there an easy way to do this? Shortest one-line shell script to print all special characters Is 1+1 =2 a theorem? A theorem is defined to be a mathematical statement that is proven to be true. The statement $1+1=2$ has definitely been proven in the history of mankind (Russel and Whitehead had once proven it in the book Principia Mathematica).   So can it be considered as a theorem? What determines something to be a theorem (besides it being proven to be true)? Looks like flagging has been affected by releases today. Are these intended effects?   Higher daily limits (appear doubled for me, flagging of posts limit also doubled).  Explained by Shog9 below. Soft comment deletion  - e.g. for "accept rate" obsolete comments - it does in fact work, but the immediate feedback is gone.  This is fixed now. Has the throttling rate changed?  Seems possible to repeated flag without waiting 5 seconds.  If it was broken, it isn't anymore. Old soft deletions that were neither categorised as "helpful" or "declined" have all become "helpful".   If limits have been updated, can we get the new formula published? Not changed, as confirmed by Shog9.