Can two new and one old mobile phones be taken to India? I am an Indian residing in Italy. Am I allowed to take two new mobile phones purchased in Italy along with the one I use to India? Can someone get me the rules/law about the gadgets? Thank you.
How much electronics and other valuables can I bring duty-free when going to India? 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?
This question led to a new package:      I'm giving my students an old exam and barely remembered to change the date at the top. A colleague and I joked about how long we could reuse the same exam, and it made me wonder if I could use LaTeX to create an exam that looked like it was written in 1963 on a typewriter.  Here's what I'd like to see:   Typewriter font even in math mode. (Several ways to accomplish this; is there a "best" way?) Slight inconsistencies in the printing of each letter. I attempt this below adapting code taken from . Each word has a random vertical shift, though I'd like to see it reduced to each letter having its own vertical shift. Other typewriter-like irregularities would be great. It would be great if math-mode delimeters \left(, \right}, etc., can be created in a piece-meal fashion as they did in days of old. Fraction bars, tops of square-root symbols -- any horizontal line, really -- is made up of a series of en-dashes that don't quite match up.   Here is what I've come up with so far:  \documentclass[10pt]{article}% This is a document class providing more font size options \usepackage{graphicx} \usepackage{ifthen} \usepackage[textwidth=7.5in,textheight=9.5in]{geometry} \pagestyle{empty}  % thanks to Bruno Le Floch: https://tex.stackexchange.com/q/9331/4012 % and in his comments to https://tex.stackexchange.com/a/29458/4012 \usepackage[first=-1,last=1]{lcg}% you can play around with these values \makeatletter \newcommand{\globalrand}{\rand\global\cr@nd\cr@nd} \makeatother  \newcommand{\randomvshift}[1]{\globalrand\raisebox{\value{rand}pt}{#1}}  %%% thanks to Martin Scharrer: https://tex.stackexchange.com/q/11598/4012 \makeatletter \def\typewriter#1{%     \@typewriter#1 \@empty } \def\@typewriter#1 #2{%    \randomvshift{#1}\space    \ifx #2\@empty\else     \expandafter\@typewriter    \fi    #2% } \makeatother \begin{document}\tt  \typewriter{Math 101 Fall 1963}  \begin{enumerate} \item   \typewriter{$\frac{\texttt{d}}{\texttt{dx}}\texttt{(x)}^2$}  \item \typewriter{State the Fundamental Theorem of Calculus.}  \end{enumerate}  \end{document} I need to grant select permission for all tables owned by a specific user to another user.  Can I do this with a single command along the lines of:  Grant Select on OwningUser.* to ReceivingUser   Or do I have to generate the sql for each table with something along the lines of:   Select 'GRANT SELECT ON OwningUser.'||Table_Name||'TO ReceivingUser'   From All_Tables Where Owner='OWNINGUSER' How do I redirect a domain to another domain locally? My /etc/hosts file looks like this:  127.0.0.1       localhost 10.20.7.67      testsitealpha.dev othersite.dev   testsitebeta.dev   The first two work. The last one doesn't. Why not? How do I make it work? The reason I am doing this, is because I have a test server (othersite.com), which is on the local network, but it's ip can vary. e.g. 10.20.7.98 one day, 10.20.7.35 another, etc.  So, how do I make my system always resolve testsitebeta.dev to the same ip as othersite.dev? The API Sandbox This is the same concept as .  Why do we need more than one? this is in order to test the API, some methods support vectored ids (for example /questions/id1;id2/comments) and for that two sandboxes are needed. $\forall$ At the beginning or at the end? I have a set of real numbers $x_1, x_2, \ldots, x_n$ and two functions $f:\mathbb{R} \rightarrow \mathbb{R}$ and $g:\mathbb{R} \rightarrow \mathbb{R}$.  What are the differences between the following statements?   $\forall v \in \{1, \ldots, n\} ~f(x_v) = 0 \vee g(x_v) = 0$ $f(x_v) = 0 \vee g(x_v) = 0 ~\forall v \in \{1, \ldots, n\} ~$ Uniform Continuity implies Continuity Let $f$ be a function from a metric space $X$ to a metric space $Y$. Show that if $f$ is uniformly continuous on $X$ then $f$ is continuous on $X$. Show that the converse is not true.  Uniform continuity definition:  $∀ε&gt;0:∃δ&gt;0:∀p,q∈X:d_{X}(p,q)&lt;δ⟹d_{Y}(f(p),f(q))&lt;ε$  Continuity definition:  $∀ε&gt;0:∀p∈X:∃δ&gt;0:∀q∈X:d_{X}(p,q)&lt;δ⟹d_{Y}(f(p),f(q))&lt;ε$  I wonder if these proofs are correct and if they are formal enough?    Uniform continuity ⟹ Continuity   Let $f$ be uniformly continuous. Fix $ε_{0}$, obtain $δ_{0}(ε_{0})$ (as a function of $ε_{0}$), fix any $p_{0}$ and $q_{0}$ and we know that:   $d_{X}(p_{0},q_{0})&lt;δ_{0}⟹d_{Y}(f(p_{0}),f(q_{0}))&lt;ε_{0}$   If we want to prove that $f$ is continuous at $p_{0}$, we fix $ε_{0}$ and we pick the same $δ_{0}$ as above and fix any $q_{0}$ and we are assured by 1. that   $d_{X}(p_{0},q_{0})&lt;δ_{0}⟹d_{Y}(f(p_{0}),f(q_{0}))&lt;ε_{0}$   Since $p_{0}$ was arbitrary, $f$ is continuous at $X$.     Continuity $\color{red}{\implies}$ Uniform continuity   Let $f$ be continuous. Fix $ε_{0}$, fix any obtain $p_{0}$ and $p_{1}$, obtain both $δ_{0}(ε_{0},p_{0})$ and $δ_{1}(ε_{0},p_{1})$ (not necessarily equal), fix any $q_{0}$ and $q_{1}$ and we know that:   $d_{X}(p_{0},q_{0})&lt;δ_{0}⟹d_{Y}(f(p_{0}),f(q_{0}))&lt;ε_{0}$  $d_{X}(p_{1},q_{1})&lt;δ_{1}⟹d_{Y}(f(p_{1}),f(q_{1}))&lt;ε_{0}$   For $f$ to be uniformly continuous, if we fix $ε_{0}$, obtain $δ$, fix any $p_{0}$, $p_{1}$, $q_{0}$ and $q_{0}$ we must have that:   $d_{X}(p_{0},q_{0})&lt;δ⟹d_{Y}(f(p_{0}),f(q_{0}))&lt;ε_{0}$  $d_{X}(p_{1},q_{1})&lt;δ⟹d_{Y}(f(p_{1}),f(q_{1}))&lt;ε_{0}$   But those two implications need not hold for the same $δ$ as shown above. Suppose we pick $δ_{0}$ and w.l.o.g. we suppose $δ_{0}&gt;δ_{1}$. Then it could be the case that   $δ_{1}&lt;d_{X}(p_{1},q_{1})&lt;δ_{0}$  but we cannot conclude ⟹$d_{Y}(f(p_{1}),f(q_{1}))&lt;ε_{0}$.  Therefore, continuity does not imply uniform continuity. I have just dropped a half full latté on my company laptop and am not sure what to do.  Is there a way I can make sure that my laptop is usable again?  What steps must I go through to improve it's chances of survival? Why did the command ":(){ :|: & };:" make my system lag so badly I had to reboot? Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system.  I was in my Virtualbox running 12.04 trying to compile an app, and while waiting I happened to chance upon a forum where a comment said:   Try :(){ :|: &amp; };:  Fun, too, and doesn't need root.  Without thinking, I ran it in my gnome-terminal. It made my 12.04(in Virtualbox) lag so badly, I had to shut it down. My question is what does this command do?   :(){ :|: &amp; };: Given $\int_0^{\infty}e^{-x^2}dx = \frac{\sqrt{\pi}}{2}$, evaluate $\int_0^{\infty}e^{-a^2x^2-\frac{b^2}{x^2}}dx $ Given $$\int_0^{\infty}e^{-x^2}dx = \frac{\sqrt{\pi}}{2}$$ evaluate:   $$\int_0^{\infty}e^{-a^2x^2-\frac{b^2}{x^2}}dx. $$   I can find that  $$\left(ax+\frac{b}{x}\right)^2 = a^2x^2+2ab+\frac{b^2}{x^2}$$  therefore: $$\int_0^{\infty}e^{-a^2x^2-\frac{b^2}{x^2}}dx = e^{2ab}\int_0^{\infty}e^{-\left(ax+\frac{b}{x}\right)^2}dx$$  but I can't find any clue then. monitor files (à la tail -f) in an entire directory (even new ones) Angle Constructions Over the numerous math tests I've taken, I have yet to understand what angle can be constructed and what cannot. From my understanding, 30, 45, 60, and 90 degree angles can be constructed. You can then use these angles and subtract or add them to create other angles like 15 or 75. Also, any angle can be bisected. Are there any other basic angle measures that can be constructed like 30, 45, etc.? So 82.5° is an angle measure  that can be constructed because you can add 60+60+45 to get 165 and then bisect it. Fix half-installed package I am getting error while using sudo apt-get upgrade stating:  dpkg: error processing libgfortran3:amd64 (--configure):   package libgfortran3:amd64 is not ready for configuration   cannot configure (current status `half-installed') Errors were encountered while processing:   libgfortran3:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)   It does not seem to block the installation/upgrade other applications. I believe this problem arose due to direct shutting down of my PC while the application was being upgraded.  How can I fix this? I have a lot of Excel sheets for all sorts of things - but none has ever acted up like this one here:    This used to be a totally normal Excel 2007 sheet which I was able to resize, maximize etc. - but not anymore. The MDI child window is fixed, both in position and size. I cannot move it around, more can I maximize it to use the full size of the screen anymore. I cannot double-click on it's title bar to maximize it either :-(  What happened? What can I do to "undo" whatever I did to it.  Any ideas? I tried to share / undo sharing, I tried to protect / unprotect the sheet - nothing seems to work... Desktop link to Eclipse I was tring to install eclipse on ubuntu. What I did: I unzipped the tar archive of eclipse. I tried to start eclipse from the command line - like this - ./eclipse. It works. But then I tried to create a desktop icon with: gnome-desktop-item-edit ~/Desktop --create-new. In a new icon I showed the path to the eclipse executable which I could launch from the command line. But then eclipse does not start stating:  A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: /home/artem/eclipse/jre/bin/java java in your current PATH   The same message appears if I try to launch eclipse by double-clicking its original launcher. So it starts from the terminal but not from the desktop (it does not start when double-clicked) And also I get a message in the terminal (at some stage it appeared):  (gnome-desktop-item-edit:8998): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.DSV8LW': No such file or directory   I am using Ubuntu 12.04 x32 and eclipse Juno.  PS. PATH variable points at jdk/bin and JAVA_HOME - to the jdk folder PSS. I actually set the environment variables through .bashrc file(JAVA_HOME and PATH) SharePoint Online REST API List Items Paging Can anyone confirm that they are able to page against a SharePoint Online List Items query? Either I'm not understanding how this query is supposed to work or it just doesn't work.   tenant.sharepoint.com/conversations/_api/web/lists/getbytitle('Posts')/items?$skiptoken=Paged=TRUE&amp;amp;P_ID=2   I'm leveraging the documentation  but when using Postman, all items are returned in the same query response. For example, according to the $skiptoken P_ID=2 above, I'm expecting a response without item ID 1. However, I still get ID 1, 2, and 3 in the response. How to resolve ambiguous column names when retrieving results? Cardinality of cartesian square Given an infinite set $A$ -  does the cardinality of $A$ equal to the cardinality of $A^2$? When I get a notification on android that someone had posted an answer or comment, if I click the notification, it opens the Stack Exchange app but shows the main view with the inbox opened, not the comment or answer that was in the notification.  If there is only one notification pending, when you tap it it should show you the actual contents rather than just the inbox. Terminal only shows up as a black window How to append to a file with fstream fstream::app flag seems not to work