I am planning to travel to India (Delhi airport) from the United States. I want to take my 2 laptops (1 personal and 1 professional) as well as my tablet (iPad). Am I allowed to take 3 gadgets in my backpack or in my check-in bag? I think I am allowed to take only 2 computers. Will Customs consider my iPad as a computer?
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?
How to simulate from a Gaussian copula? Suppose that I have two univariate marginal distributions, say $F$ and $G$, which I can simulate from. Now, construct their joint distribution using a , denoted $C(F,G;\Sigma)$. All the parameters are known.  Is there a non-MCMC method for simulating from this copula? Can I include the completion of Udacity and Coursera classes I have attended in an academic CV? Can I include in my academic CV that I have attended and completed the  and  classes I have been taking? I understand that these are not anything major, but the courses definitely gives a good overview and starting formal study on the subject becomes less cryptic. If I can include them without any negative impacts, then under what section should I include them? How does centering the data get rid of the intercept in regression and PCA? I keep reading about instances where we center the data (e.g., with regularization or PCA) in order to remove the intercept (as mentioned in ). I know it's simple, but I'm having a hard time intuitively understanding this. Could someone provide the intuition or a reference I can read? Is it feasible to transform each variable differently while doing multiple regression I have a dataset with 10 variables ...is it feasible to transform each variable differently while doing multiple regression...  for example new_V1 = log(v1)  New_V2= V2^2  New_V3= 1/V3  Likewise differently for different variables and then applying multiple regression? Which facility upgrade unlocks maneuver nodes in KSP Marriage Tax Benefits Note: This is a canonical post created so that we can close the many similar questions as duplicates as discussed in .   We have created a logo for a client and they love it. We've already started preparing the materials that will feature the new logo.   However, after we had created the logo, we found a logo for another company that looks eerily similar. We did not intentionally create the new logo to look like the one of the other company, in fact we didn't even know it existed beforehand, but it does regardless.  What should we do? Is this plagiarism? Can our client use the logo we have created? Should they? Or do we need to come up with another logo that's more different? How can I setup a Material in Cycles for Z-Transparency? This is the PATH variable without sudo:  $ echo 'echo $PATH' | sh  /opt/local/ruby/bin:/usr/bin:/bin   This is the PATH variable with sudo:  $ echo 'echo $PATH' | sudo sh /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin   As far as I can tell, sudo is supposed to leave PATH untouched. What's going on? How do I change this? (This is on Ubuntu 8.04).  UPDATE: as far as I can see, none of the scripts started as root change PATH in any way.  From man sudo:      To prevent command spoofing, sudo   checks ``.'' and ``'' (both denoting   current directory) last when searching   for a command in the user's PATH (if   one or both are in the PATH). Note,   however, that the actual PATH   environment variable is not modified   and is passed unchanged to the program   that sudo executes. I want to  GRANT SELECT     ON ALL TABLES     TO foo;   But postgres tells me I have a syntax error at "TO". It expects a GRANT like:  GRANT SELECT     ON ALL TABLES     IN SCHEMA public     TO foo;   We have a handful of tables that have been sharded such that public, shard123, and shard124 all have a table my_table, and public.my_table is the parent of both shard123.my_table and shard124.my_table. I've GRANTed SELECT to foo for public schema, but foo doesn't have permission for any of the shard schemas.  I've also done:  ALTER DEFAULT PRIVILEGES     FOR ROLE dba     GRANT SELECT     ON TABLES     TO foo;   ...which should automatically grant for any new tables and schemas made from now on.  There are 1000 &lt; n &lt; 10000 shards/schemas, so GRANTing separately for each shard/schema is impractical.  How can I GRANT to a role for all existing tables across all existing schemas (all shards)?  Or even better, can I GRANT for all schemas LIKE 'shard%'? Question on how to normalize regression coefficient Not sure if normalize is the correct word to use here, but I will try my best to illustrate what I am trying to ask. The estimator used here is least squares.  Suppose you have $y=\beta_0+\beta_1x_1$, you can center it around the mean by $y=\beta_0'+\beta_1x_1'$ where $\beta_0'=\beta_0+\beta_1\bar x_1$ and $x_1'=x-\bar x$, so that $\beta_0'$ no longer has any influence on estimating $\beta_1$.  By this I mean $\hat\beta_1$ in $y=\beta_1x_1'$ is equivalent to $\hat\beta_1$ in $y=\beta_0+\beta_1x_1$. We have reduced equation for easier least square calculation.  How do you apply this method in general? Now I have the model $y=\beta_1e^{x_1t}+\beta_2e^{x_2t}$, I am trying to reduce it to $y=\beta_1x'$. Let $x$ and $y$ be positive integers such that $xy \mid  x^2+y^2+1$. Show that $$ \frac{x^2+y^2+1}{xy}= 3 \;.$$ I have been solving this for a week and I do not know how to prove the statement. I saw this in a book and I am greatly challenged. Can anyone give me a hint on how to attack the problem? thanks Is there any reason to use this-> Rest mass of the photon Why is the rest mass of the photon is taken to be zero?  If rest mass of the photon is non zero, then it leads to infinite energy of the photon (by $E=mc^2$ equation) and there is a violation of conservation of energy. Is this a reason?  Also, is there any thing called the relativistic mass of the photon? LAN not working on 17.04 Actually yesterday I've upgraded from Ubuntu 16.04 to 17.04 and I got a problem that, if connect LAN cable it does not showing anything and  remains disconnected. But i can connect with WiFi. I don't know what's the problem. Actually its showing "device not managed" under the "Ethernet Network" and both were disabled. I've searched for the solution, but did not found yet. How to remove zsh alias? Delete duplicate records in SQL Server? I have a code that loops through all the Sites and Webs in a web application.  My code uses for..each loop to navigate through each site and web object.  I was wondering if we are required to dispose the SPWeb and SPSite objects when used inside a loop.  Codes:-  foreach (SPSite thisSite in siteAuditWebApplication.Sites) {  //My operation here  }  Similar to the above code I also have some part of code that loops through all the Web and Lists.  Do we have any best practice for disposing objects inside the loop,  or do i really need to take care about disposing the objects?  Thanks in Adv.. Sudhir Trouble With Persistence After Making a USB Live Thumb Drive Using Pendrivelinux I created a bootable Ubuntu on my 32GB thumb drive (on a NTFS partition) and I selected a persistence of 4GB.  I've noticed that when I reboot from the initial booting off of the USB thumb drive, nothing is preserved.  No apps that were installed nor saved bookmarks.  Is there a way for me to manually force persistence? I am interested in calculating area under the curve (AUC), or the c-statistic, by hand for a binary logistic regression model.  For example, in the validation dataset, I have the true value for the dependent variable, retention (1 = retained; 0 = not retained), as well as a predicted retention status for each observation generated by my regression analysis using a model that was built using the training set (this will range from 0 to 1).  My initial thoughts were to identify the "correct" number of model classifications and simply divide the number of "correct" observations by the number of total observations to calculate the c-statistic. By "correct", if the true retention status of an observation = 1 and the predicted retention status is > 0.5 then that is a "correct" classification. Additionally, if the true retention status of an observation = 0 and the predicted retention status is &lt; 0.5 then that is also a "correct" classification. I assume a "tie" would occur when the predicted value = 0.5, but that phenomenon does not occur in my validation dataset. On the other hand, "incorrect" classifications would be if the true retention status of an observation = 1 and the predicted retention status is &lt; 0.5 or if the true retention status for an outcome = 0 and the predicted retention status is > 0.5. I am aware of TP, FP, FN, TN, but not aware of how to calculate the c-statistic given this information.