Ajax request to upload image and save in server
How can I upload files asynchronously with jQuery?
I'm trying to find the longest consecutive set of composite numbers Hello and I'm quite new to Math SE.  I am trying to find the largest consecutive sequence of composite numbers. The largest I know is:  $$90, 91, 92, 93, 94, 95, 96$$  I can't make this series any longer because $97$ is prime unfortunately.  I can however, see a certain relation, if suppose we take the numbers like (let $a_1, a_2, a_3,...,a_n$denote digits and not multiplication):  $$a_1a_2a_3...a_n1,\ a_1a_2a_3...a_n2,\ a_1a_2a_3...a_n3,\ a_1a_2a_3...a_n4,\ a_1a_2a_3...a_n5,\ a_1a_2a_3...a_n6,\ a_1a_2a_3...a_n7,\ a_1a_2a_3...a_n8,\ a_1a_2a_3...a_n9,\ a_1a_2a_3...(a_n+1)0$$  The entire list of consecutive natural numbers I showed above can be made composite if:   The number formed by digits $a_1a_2a_3...a_n$ should be a multiple of 3 The numbers $a_1a_2a_3...a_n1$ and $a_1a_2a_3...a_n7$ should be composite numbers   If I didn't clearly convey what I'm trying to say, I mean like, say I want the two numbers (eg: ($121$, $127$) or ($151$, $157$) or ($181$, $187$)) to be both composite.  I'm still quite not equipped with enough knowledge to identify if a random large number is prime or not, so I believe you guys at Math SE can help me out. How to avoid the 'not properly formatted as code' alert Seeking neighborhood boundaries globally? Besides Zillow's creative-commons licensed  shapefiles, what sources of neighborhood boundaries are there? Not just in the US, but all over the world.  Free/open source is ideal, but paid sources could be interesting too. I don't really know much about entropy but I learned recently that the entropy in the universe is constantly increasing and that perhaps someday we will reach maximum entropy and the universe will end in heat death. In order for this to be true there are two prerequisites:   Heat must constantly be created. There must be no way to destroy heat (at least no way that turns it into a more useful form of energy).   1 is certainly true. Every process creates some heat. When a person walks his/her feet hit the ground with kinetic energy and the friction creates heat.   But I don't see how 2 can be true. For one thing, heat never even leaves its place of origin (earth, another planet or a star). In order for heat to travel in requires air (or some other conductor/convector). Since there is no air in space there is also no heat. Heat leaves things only in the form of electromagnetic radiation (light) (in the case of earth, infrared).   So conversion from heat to light is certainly possible and is even found in nature. Now how do we get from light to other forms of energy? Well, photosynthesis. Solar panels. So this is possible too. If so, why will we ever run out of useful energy? Even if the rest of the universe does, can't we still reharness our own energy by converting the heat to light and light to other forms of energy?  Suppose the sun died (and leave aside the fact that it would first destroy earth with a supernova), can't we just put up a huge solar panel around earth to pick up all the infrared and convert it back to useful energy? Setting environment variables on OS X What is the proper way to modify environment variables like PATH in OS&nbsp;X?  I've looked on Google a little bit and found three different files to edit:   /etc/paths ~/.profile ~/.tcshrc   I don't even have some of these files, and I'm pretty sure that .tcshrc is wrong, since OS&nbsp;X uses bash now. Where are these variables, especially PATH, defined?  I'm running  (Leopard). I am wondering if the explanations correct and whether what is the difference between different &quot;seems&quot;.   He seems happy. He seems a happy fellow. He seems to be a happy fellow. He seems to work hard. He seemed to be happy   &quot;Seem&quot; also enters into an 'impersonal' construction which employs 1) the 'dummy' subject it + an active tensed form with &quot;seem&quot;, followed by 2) a that clause (sometimes called a 'content' clause) which expresses the assertion which is hedged or qualified.   It seems that he is happy (but he may not be).  It seemed that he was a happy fellow (but he wasn't).  It will seem that he is working hard (but he will in fact be spending his time answering questions on ELL instead of working).  He is seemed to be something. How to set JAVA_HOME to point to a JDK installation? I installed sun-java6-jdk.  I need to find its home directory. JAVA_HOME must point to a JDK installation, not JRE. Custom Gmail labels sort I want to sort the labels in my own order instead of the default abc order, so that, for example, the label named bills should come up first.  Any way to do that? I understand that the Istari - the only other Maiar besides the Balrog to come into close proximity to the Ring - are constrained within a mortal body and subject to its mortal weaknesses, which renders them vulnerable to the Ring's domination and corruption. However, what is to stop Gandalf from returning to his true form, picking up the Ring, and just walking all the way to Mount Doom? Sauron is too weak at the time; he would have been able to do nothing but watch helplessly and pray his mortal armies can defeat a Ring-bearing Gandalf.  Is Gandalf's decision to abide by the Valar's will to the end the only thing holding him back from this particular option? Are there enchantments in place to disable his ability to revert to Maia form, such that the option was never there to begin with? Or would he, even in Maia form and free of mortal weaknesses, still be vulnerable to domination and corruption by the Ring?  The One Ring is forged with the essence of Sauron to dominate and rule the minds of lesser beings. However, Sauron is only a Maia - albeit the highest-ranking in Morgoth's following. Fellow Maiar would be his equal (at least in rank), while the Valar are certainly superior in power to him. If an Ainu becomes a Ringbearer, will he/she eventually fall to Sauron's will too, or at least succumb to the corruption of the Ring's dark power? Vertical alignment in table: m-column, row size - problem in last column How are one-time pads distributed? It seems that OTP encryption is unbreakable. I have read some articles (Wikipedia, Blogpost, etc.), but I could not find any information about how they are used.  If I wanted to create a messenger service, how would I distribute the OTP keys? Both the sender and the receiver need this key before the message is sent, right?   And how do I make sure no one else gets these keys? Selecting text in profile activity comments causes unexpected clipping How do I make my document use the Times font, both for the text and the math? I know that I can put \usepackage{times} in the preamble in order to use the Times font instead of Computer Modern for my document.  But this only affects the text; the math is still typeset using Computer Modern.  How can I make Latex use Times also for the math? Baking lots of bread - keeping a yeast starter I'm looking for the name of a sci-fi series, intended for children. Robots have control over the humans. There is a squad of humans who attack them. Every member in this squad has a badge on their suit, and when they touch this badge the suit becomes armed. This series was not cartoon series, it was performed by real people. The main robot character is very similar in style to Darth Vader in Star Wars. The series aired in the 1990s. I am sorry but I can't recall many details. Search for a string and print everything before and after within a range I have this file:  sometext1{ string1 }  sometext2{ string2 string3 }  sometext3{ string4 string5 string6 }   I want to search this file for a specific string and print everything before this string up to the opening { and everything after this string up to the closing }. I tried to achieve this with sed but if I try to print everything in the range /{/,/string2/ for example sed prints this:  sometext1{ string1 }  sometext2{ string2 sometext3{ string4 string5 string6 }   If I search for the string "string2" I need the output to be:   sometext2{ string2 string3 }   Thanks. How to deal with SQL column names that look like SQL keywords? One of my columns is called from. I can't change the name because I didn't make it. Am I allowed to do something like SELECT from FROM TableName or is there a special syntax to avoid the SQL Server being confused? How to modify a text file? I found it in an old dictionary and I'm not sure what it means. It looks like the number &quot;3&quot;, but the top of the three has been flattened(and slightly curved). I've only seen this in three or four words. [] How to get a tool that can only break specific blocks and has a name?