I bought two smart phones for my father and sister in Europe. Will the customs officer in India (Chennai) give any trouble if I carry two new unopened smart phones with the box in my hand luggage? Also, i'm a student, does this give me any advantage over it?
I am planning to travel to India (COK airport, Kerala) from United States. I want to take my laptop as well as my tablet (iPad). Am I allowed to take both in my backpack with my documents related my work. I think I am allowed to take only one computer as per the rule. Will the customs consider my iPad as a computer?  What all I can take?   One of my friends took 2 laptops (1 work and 1 personal) and had trouble at the airport.  Also I am planning to take some wristwatches (7 of them, each avg price is 45 $). I read in a website that I can take stuff up to max 35000 INR. Is that true? In that case, how will I manage my stuff?
changing notification emails from WordPress @mydomain.net to something else How do I change notification emails address from WordPress @mydomain.net to something else.  I want to do this because WordPress @mydomain.net ends up getting flagged as junk mail.  Thanks  Daniel What is the best way to clean the sensor on a interchangeable lens camera (mirrorless or digital SLR)? sed - replace string with file contents I have two files: file1 and file2.  file1 has the following contents:  ---   host: "localhost"   port: 3000   reporter_type: "zookeeper"   zk_hosts:      - "localhost:2181"   file2 contains an IP address (1.1.1.1)  What I want to do is replace localhost with 1.1.1.1, so that the end result is:  ---   host: "1.1.1.1"   port: 3000   reporter_type: "zookeeper"   zk_hosts:      - "1.1.1.1:2181"   I have tried:  sed -i -e "/localhost/r file2" -e "/localhost/d" file1 sed '/localhost/r file2' file1 |sed '/localhost/d' sed -e '/localhost/r file2' -e "s///" file1   But I either get the whole line replaced, or the IP going to the line after the one I need to modify. Prove that a finite union of closed sets is also closed Local collection of Python packages: best way to import them? Sylvester's theorem states that the product of $k$ consecutive integers $&gt;k$ has a prime factor $p&gt;k$. Erdős gave a short proof for it, but I can't find Erdős's proof online. Can anyone give a sketch of the proof? Thanks. What ticket reservation do I need for a Schengen visa? I have a visa appointment this Friday 19 at the Italian Consulate in Philadelphia and I have a question about the flight reservation requirement: According to the Visa requirements "Confirmed flight reservation for a round trip showing complete itinerary."  Does this mean I have to reserve the tickets, pay and print the itinerary?  In this case if my visa gets denied then I will lose the money I paid or can I just show the planned itinerary (written not booked)? in this case the travel agency would not give me the Travel Insurance coverage until I book and pay for the reservation.   I am a US green card holder and applying from North Carolina. Where can I find web design projects? I am a recently graduated graphic designer. I would like to know if there are any worthwhile websites that I could present my portfolio and receive or look for job offers.  I have came across the following freelancewebsites by searching the web that seem to meet my criteria:       (the most famous website for people seeking for employers and employees)   I've also found two articles providing reviews on these types of sites:       I am new to the online freelance market. As a result, I don't have any clue which websites are mainstream for graphic designers and illustrators (which are my specialties). It's not immediately discernible to me which sites are the ones that are not a scam and are also good place for establishing myself.  I'm mainly looking for the resources that experienced designers are familiar with. I'm looking to narrow it down to the ones that have been used by those established in the industry. As a result I decided to consult the matter here and ask for input. The equivalent electric field of a magnetic field What is JSON and what is it used for? I've looked on Wikipedia and Googled it and read the official documentation, but I still haven't got to the point where I really understand what JSON is, and why I'd use it. I have been building applications using PHP, MySQL and JavaScript / HTML for a while, and if JSON can do something to make my life easier or my code better or my user interface better, then I'd like to know about it. Can someone give me a succinct explanation? Update 2014-04-17 04:47 UTC: Stable, with some odds and ends to clean up      The main MSO/MSE sites are stable, but there are plenty of corners left to sweep. For details, see:    Not all of them mind you, just Meta Stack Overflow into Meta Stack Exchange.  I'll have you know, factually, that we really did believe this would take place in six-to-eight weeks when it was , but we've finally got a tentative date established.  If things go according to plan, we'll begin the operation shortly after 8:30 PM EDT on the 16th, completing everything within a few hour window. Ideally, all service disrupting endeavors will be completed within the first hour, which include:   The availability of Meta Stack Overflow The availability of Stack Overflow (more on this shortly) The availability of Chat on Meta Stack Overflow   As you know, we'll be bolting on a standard issue per-site meta on Stack Overflow, while breaking the link between what will have become Meta Stack Exchange and Stack Overflow. There's some irritable innards in that particular region, so we'll be asking folks to expect the unexpected during the maintenance window. Affected sites will be in and out of read-only mode, or quite possibly just down for maintenance while we're doing the actual break.  I'll be posting a system message on both Meta Stack Overflow as well as Stack Overflow itself 24 hours before we begin the actual work.   Did I say tentative in a six-to-eight-something time frame again? Why yes, I did - we're currently running some tests on the dev tier to simulate the split as closely as possible, so that we can better anticipate quirks that we need to address prior to actually doing it.  Once the sites have actually been stood up functionally on the production tier, we're going to get to work on finishing touches. This will include things like site settings (which determine bits of text you see in the question prompts, rep thresholds, etc) and all sorts of other fine tuning.  Once we're done:   Stack Overflow will have a blank, empty child meta site just like every other site The new Meta Stack Exchange will be up and running All rooms on Chat Meta Stack Overflow will be moved to Chat Meta Stack Exchange  I'll send over about 150 - 200 questions from MSE to MSO, most of which will be tag or SO-specific feature related posts that got buried by the network stuff without resolution.   If the tentative date moves, I'll update this post with the new date. However, we do not anticipate this happening any later than Saturday, April 19 - in the case that we see down time we can't mitigate and need to do it on a weekend.  The ground work is basically done, we're finishing up sanity now with a great deal of confidence, and we're pretty certain that we'll hit between those dates, if not directly on the tentative 16th.  Questions? Kvetch? Anonymous confessions? Answer below, and I'll address each in comments. I was surprised to discover my dictionary had this entry for dilemma:     a situation in which a difficult choice has to be made between two or more alternatives, esp. equally undesirable ones   The notion of dilemma meaning two or more flies against what I was taught about the word. The very idea of a  is specifically based on the number two.  Has my dictionary merely updated its definition to encapsulate the many people who use dilemma for more than two equal choices? Or was someone in my youth being unnecessarily pedantic? How to switch from Resident visa to Tourist visa status in the Schengen area? I'm using latex on a small netbook, and with average-sized files (~150 pages at the moment) compilation is already pretty slow. So I am looking for every way to speed up the compilation.  In this search, I found  explaining how to "precompile a preamble", or, latexically-speaking, how to make a custom format file. That works fine enough.  But my preamble isn't as static as it should be, I keep adding or modifying definitions in there. To mix the two solutions, at the moment, I use a Makefile together with latexmk, the makefile handling the regeneration of the .fmt file if needed, and latexmk taking good care of the rest.  But I have two problems with this :   integration with emacs to compile the whole document when working on a single file (make needs to be called in the proper directory) latexmk doesn't recompile the file every time the preamble is modified, because it doesn't count as a dependency.   So I'd like to find a way to get rid of this Makefile, and get all the stuff done by latexmk.  I edited my .latexmkrc to include this :     pdflatex = 'pdflatex -fmt main %O %S';  add_input_ext('pdflatex','fmt');  add_cus_dep('tex', 'fmt', 1, 'compilepreamble'); sub compilepreamble {     print "Preamble compiling...\n";     $command = '&amp;.pdflatex ./fmt/preamble.tex\dump';     system("pdflatex -ini -jobname='$_[0]' '$command'"); };      But with this, if the file main.fmt is not present or if fmt/preamble.tex is updated, the main.fmt file won't be regenerated. Actually, in the first case, I get an error from pdflatex saying the it can't find main.fmt format file. So I understand latexmk doesn't even try to build main.fmt, it's probably not a problem in my custom dependency. However, I think I've added everything necessary for this to work.  So... Did I forget something? Is there a way round? Or is it a hopeless quest? Order a MySQL table by two columns How do I sort a MySQL table by two columns? What I want are articles sorted by highest ratings first, then most recent date.  As an example, this would be a sample output (left # is the rating, then the article title, then the article date)  +================+=============================+==============+ | article_rating | article                     | article_time | +================+=============================+==============+ | 50             | This article rocks          | Feb 4, 2009  | +----------------+-----------------------------+--------------+ | 35             | This article is pretty good | Feb 1, 2009  | +----------------+-----------------------------+--------------+ | 5              | This Article isn't so hot   | Jan 25, 2009 | +================+=============================+==============+  The relevant SQL I'm using is: ORDER BY article_rating, article_time DESC  I can sort by one or the other, but not both. Which profile details does an account merge preserve? When one has to merge two accounts, they're prompted by something like this with input fields for each account link:     Account 1:  Account 1 link.       Account 2:  Account 2 link.    When the merge completes, which account details are preserved, like the display name, or the profile description? Account 1, or account 2? PhD duration in the USA I am trying to find out what the average duration of PhD studies are in the USA. Here in Spain it used to be 4 years, but it seems that Europe is moving towards a 3-year scheme since students are expected to do their MSc before they start. What is it like in the USA? Is some kind of shortening also occurring? Partition of harddisk lost/unusable Difference between 'struct' and 'typedef struct' in C++? The square root of a prime number is irrational