I'm a Hong Kong citizen who is holding both the Hong Kong Passport and the British Nation (Oversea) Passport.With the HK passport, I can stay in Russia for 14 days without visa.  I'm now staying in France with the working holiday visa which is on my British passport. But the problem is that I wanna have a short trip to Russia now. There're two plans:  Plan A:   Leaving France with the British passport Entering and Leaving Russia with the Hong Kong passport Going back to France with the British passport   But which passport should I use for booking the ticket? And will I get into any trouble while passing the border control?   Plan B:   Forget about the British passport. Just using the Hong Kong passport at all.   But I wonder whether I would get into any trouble at the French border control because my Hong Kong passport has no entry stamp of EU and then I use it to leave and come back France .  Which plans should I go for? or another other options?
I am a citizen of two different countries, and have two passports.  How should I use my passports when traveling?
Resizing Mac OS partition - macOS High Sierra I’m struggling with getting \ifmmode to work correctly when used inside an array environment which is inside a displaymath environment.  Here is a minimal example:  \documentclass{article}  \newcommand{\signal}[1]{%   \ifmmode     1#1   \else     2$#1$   \fi }  \begin{document} \begin{displaymath}   \begin{array}{cc}     \signal{a} \signal{b} &amp; \signal{c} \signal{d} \\   \end{array} \end{displaymath} \end{document}   This example generates the following output:        Why doesn’t all invokations of \signal detect math-mode? Problems with Curve Modifier Resize Move Partitions on Dual Boot System Why does the Community user approve and reject edits? That's all they give you. I tried putting it into the linear approximation equation of:  $$ f(a)+f'(a)(x-a) $$  but I get almost the same value as $64.07^{2/3}$, which is around $16.0116$. Just not sure how else to go about doing this problem. Thanks. What to conclude from this lasso plot (glmnet) Following is the plot of glmnet with default alpha(1, hence lasso) using mtcars data set in R with mpg as the DV and others as the predictor variables.  glmnet(as.matrix(mtcars[-1]), mtcars[,1])     What can we conclude from this plot regarding different variables, especially am, cyl and wt (red, black and light blue lines)? How would we phrase the output in a report to be published?  I thought of following:   wt is the most important predictor of mpg. It is negatively affecting the mpg. cyl is a weak negative predictor of mpg. am may be a positive predictor of mpg. Other variables are not robust predictors of mpg.    Thanks for your thoughts on this.  (Note: cyl is the black line which does not reach 0 till very close to it.)  Edit: Following is plot(mod, xvar='lambda') which shows x-axis in order reverse of above plot: Which of the following is also an ideal? If $U,V$ are ideals of a ring $R$, then which of the following is also an ideal of $R$?   $U+V=\{u+v\mid u\in U,v\in V\}$ $U\cdot V=\{u\cdot v\mid u\in U,v\in V\}$ $U\cap V$   My attempt: I have proved $U+V$ and $U\cap V$ are ideals of $R$.  My problem: I have problem about the second option. I think it is not ideal of $R$. If I am wrong then please prove this otherwise give one counter example to show that $U\cdot V$ is not ideal of $R$. Limit of divided integrals Prove that: $$\lim\limits_{m\to \infty} \frac{\int\limits_0^{\pi/2}(\sin(x))^{2m} dx}{\int\limits_0^{\pi/2}(\sin(x))^{2m+1} dx} = 1$$  I had tried to get it from inequalities like $$(\sin(x))^{2m+1} \le (\sin(x))^{2m} \le (\sin(x))^{2m-1}$$ But I always hit a wall in that regard (I integrate the sin functions and from there keep on going but there it ends). How to Tail -f output with colors using only Awk and show the rest of the output? I was able to do a tail -f output with colors using the awk command. But I'm unsure how to output the rest of the log as it seems to be filtering only those 2 lines. I also want to see the other lines as the log is written.  What do I need to put in the awk command to show the rest of the output?  Image of my issue. The red text above is without using awk and displays the entire tail -f log. And below that is the same command with the awk color filtering. I'm attempting to do this in a procedure:  DECLARE @a bit = 1; BEGIN     SELECT * INTO #aTemp FROM OPENROWSET( ... );      IF @a = 0     BEGIN         SELECT ... INTO #bTemp FROM #aTemp;     END     ELSE     BEGIN         SELECT ... INTO #bTemp FROM #aTemp;     END END   I get the error:  Msg 2714, Level 16, State 1, Line 10 There is already an object named '#bTemp' in the database.   Why is this happening and is there a work around?  Update  I've attempted to add a DROP statement as suggested , but it still does not work:  DECLARE @a bit = 1; BEGIN     SELECT * INTO #aTemp FROM OPENROWSET( ... );      IF @a = 0     BEGIN         IF OBJECT_ID('[tempdb]..#bTemp') IS NOT NULL         BEGIN             DROP TABLE #bTemp;         END          SELECT ... INTO #bTemp FROM #aTemp;     END     ELSE     BEGIN         IF OBJECT_ID('[tempdb]..#bTemp') IS NOT NULL         BEGIN             DROP TABLE #bTemp;         END          SELECT ... INTO #bTemp FROM #aTemp;     END END Leg bisectors in a trapezoid and angle equality Let $PQRS$ be a trapezoid. The bisectors of legs $PS$ and $QR$ intersect the opposite legs at $M$ and $N$ so that triangles $PMS$ and $QNR$ are formed.  Prove that $\measuredangle PMS= \measuredangle QNR$.  The question may seem easy but I fail to move on, playing with angles didn't help. I'd appreciate some hint from somebody with an eye for geometry and triangles. Error: "To run a ssis package outside of sql server data tools you must install [send successful email] of Integration Services or higher." NOTE that the title of this qusetion is a verbatim error message specific to this user. The error message illustrates a bug in the dtexec application, which substitutes a user variable into the error message string. In this case, the standard message Standard E dition is replaced with send successful email.  The 'standard' error message would be :  Description: To run a SSIS package outside of Business Intelligence Development Studio you must install Standard Edition of Integration Services or higher.    Version SSIS 2012. Package was originally 2005 ver. Package on file system.  DB Engine / Agent on Host 1, SSIS on Host 2.  Execution from Host 2 runs successfully. Execution from Host 1 gives the error in the question subject. Saw , but engine and agent are installed on Host 1. Has anyone seen this? Google returns no results when searching on the exact error (subject line is exact, wording is odd in the error message).  Thank you! Suppose that $\hat{x}$ is the least squares solution of $Ax = b$.  That is, $\min{|r|}, r = Ax - b$ with respect to $x$.  Is $\hat{x}$ also the least squares solution of $JAx = Jb$?  I suspect so, but I'm not sure how to prove it.  If $J$ is invertible, it's easy enough to prove as you can just cancel it out from both sides.  But what if it's not invertible? It's a series of fantasy books in which the inhabitants of the world, from the time when they're children, get to somehow have an accompanying small animal that represents their soul or their personality. I'm curious to see some real examples of where simply capturing the same photo in RAW (and being processed by someone who can do it justice) has significantly improved the photo at the end of the process.  I understand what RAW is and why you might want to use it over JPEG, however, I'd like to actually see some examples where it has allowed for a better result. More control over tone, conversion from the more detailed data to 8-bit RGB etc.  Does anyone have or know of some processed RAW+JPEG shots for exact comparison? For a login application, how would i go about checking the sha1 value of a password? Reputation and inbox notification shows up again after refresh date command not resolving properly in bash alias How can I move an installed game from one Steam library folder to another? I use (and have it much bigger) drive D: to store all my user data and games, but I have installed the Steam client on drive C:. When I was installing a first game (Warhammer 40000), I've chosen to place my library folder on drive D: and the game went there.  But now as I've got installed the second game (Portal), I can see that it was put on drive C: despite to the choice I've done previously. When I open Steam - Settings - Downloads + Cloud - Steam library folders, I can see both installation places in the list. Can I merge them into one?  I would even agree to use the default drive C: library (as I've replaced it with a symlink already). When I press to remove one library it says it can only remove empty ones.