I have a single entry Schengen visa from spain, do I have to go to spain or is it valid to use in for instance France?
I am visiting a friend in Switzerland for ten days. I have already got visitor's visa for the same on my Indian passport. Particulars mentioned on my visa are:  1. 'Etats Schengen' , 2. Single entry 3. Dates of visit. &amp; 4. Type of visa : C.  I understand that having already got ‘Etats Schengen' visa, I can travel to all Schengen countries.  I am also planning to visit Paris for a day during my stay in Switzerland. However, I never mentioned this in my visa application. I am planning to take a train from Geneva to Paris and book a hotel in Paris for one night. Can I possibly plan my Paris trip this way as I have Schengen visa, or I am not allowed to travel out of Switzerland as I never mentioned this in my visa application?   Also what does Single entry on my Schengen visa means: does it mean that I can enter and leave Switzerland only once or it means that I can enter and leave the Schengen region only once.
Simulating a Brownian Excursion using a Brownian Bridge? How to schedule a cron job to run a video fill every 5 minute? Been trying to find graphic novel for decades - at least I think it's a graphic novel Positive series problem: $\sum\limits_{n\geq1}a_n=+\infty$ implies $\sum_{n\geq1}\frac{a_n}{1+a_n}=+\infty$ Making crafted items usable in adventure mode In a map I'm making the player has to survive while locked in a maze. To stop them from breaking out, they will be in adventure mode. However, I still want them to be able to craft items and use them with specified blocks. I have tried several methods already but they all have a flaw.  One method is to have a scoreboard objective called item and giving certain item entities a specific score using something like:  /scoreboard players set @e[type=Item] item 1 {Item:{id:"minecraft:sapling"}}   Then it is possible to select these items with:  /entitydata @e[type=Item,score_item=1,score_item_min=1] {Item:{tag:{CanPlaceOn:["dirt"],HideFlags:24}}}   This works but it requires the item to be dropped, which isn't a problem for saplings, but for tools and other craftable items, it becomes a hassle.  To fix this, I'm currently clearing tools without damage and giving the player a slightly damaged tool in return:  /clear @a minecraft:stone_axe 0 1   /give @a minecraft:stone_axe 1 1 {CanDestroy:["log","log2","leaves","leaves2"],HideFlags:24}   This doesn't work for items without damage values (e.g. torches), but I don't mind these having to be dropped as there aren't too many of these. However, there is another problem. In the nether, the player will have access to an enchantment table and an anvil. This means they can repair enchanted tools, which will cause them to be cleared and replaced with unenchanted ones as soon as they go back to the overworld.  I also thought about using a stat.craftItem scoreboard objective and giving them the usable item if they craft it. However, this would result in the player having a duplicate of every item they crafted, as I think it is impossible to select an item without NBT-data in the /clear command.  Is there any way to make this work? And if not, would it be better to have the player drop all crafted items or have duplicates of them all? How can I make a dispenser that has unlimited arrows? If the sum of $n$ cubes is zero, then the sum must be no larger than $\frac n3$. How to append something to an array? How do I append an object (such as a string or number) to an array in JavaScript? I have a table similar to this:  CREATE TABLE example (   id integer primary key,   name char(200),   parentid integer,   value integer);   I can use the parentid field to arrange data into a tree structure.  Now here's the bit I can't work out. Given a parentid, is it possible to write an SQL statement to add up all the value fields under that parentid and recurse down the branch of the tree ?  UPDATE: I'm using posgreSQL so the fancy MS-SQL features are not available to me. In any case, I'd like this to be treated as a generic SQL question.  BTW, I'm very impressed to have 6 answers within 15 minutes of asking the question! Go stack overflow! replacing the default console emulator under Windows XP How can I replace the default program providing console windows under Windows XP?  I know of , and I have a shortcut to start cmd.exe in . But now I want console applications to start in Console2 rather than the default console program, even when I have no control over the program that starts the console application. (I.e. a non-console program starts consoleapp.exe, and I can't change it to start Console2 instead, but I still want the application to be started inside a new instance of Console2.)  (Note that I want to replace the console itself, that is, the window in which console (i.e. text mode) applications run. And I must be able to run arbitrary, unmodified console applications: a substitute for a specific console program such as Cmd won't do me any good.)  EDIT: So what I'm after is a , which           OT: I want to know when Microsoft is going to make a decent CSRSS replacement. Not being able to adjust the width of a "terminal" by resizing the window is a complete joke.         Go download the ISE already. (It's included in Win7/2008R2.)   But as far as I understand this ISE is an , not a general console emulator. Meaning of 'const' last in a function declaration of a class? How do I get a selected vertex and it's corresponding uv vertex?  A vertex I can get with  bpy.context.active_object.data.vertices[0]   A uv vertex I can get with  bpy.context.active_object.data.uv_layers['UVMap'].data[0]   But the index is not the same for uv and mesh vertex. Do the parent directory's permissions matter when accessing a subdirectory? LaTeX errors in Formatting I want to print this text :  make -j 5 KDEB_PKGVERSION=1.yourcustomname deb-pkg  But I feel because of the underscore , LaTeX generates an error missing $ inserted and it doesn't print it as well.  Secondly, In the \fbox{} , I wanted to print the two texts on the next line(i.e) one text per line , so I used \ and even \par but it doesn't seem to work and I would like to align the (or) as well.   \fbox{\texttt{uname -a}\\(or) \texttt{cat /proc/version}}   Here is my full source code:  \documentclass[12pt]{article} \author{Subham Soni S.} \date{\today} \title{Compiling and Installing a Kernel 3.13.3 On Ubuntu, Debian and its Derivatives} \begin{document} \maketitle To replace the existing \textsl{kernel} with a new one, do the following: \begin{enumerate} \item Create a folder named \emph{kernel} in the home directory. \item Download the latest kernel to the folder from  \texttt{www.kernel.org}. \item Extract the file. \item In the terminal, type the following command to \textbf{install the neccesary tools to compile the kernel}:   \begin{center}     \fbox{\texttt{sudo apt-get install gcc libncurses5-dev dpkg-dev}}   \end{center} \item Enter the directory of the extracted kernel source   \begin{center}     \fbox{\texttt{cd kernel} \par \texttt{cd linux-3.13.3}}   \end{center} \item Configure the kernel   \begin{center}     \fbox{\texttt{make menuconfig}}   \end{center}   In this menu you can customize your kernel \item Save and exit \item Compile the kernel   \begin{center}     \fbox{\texttt{make -j 5 KDEB_PKGVERSION=1.yourcustomname deb-pkg}}   \end{center}   \emph{This process might take a while...} \item Install the kernel   \begin{center}     \fbox{\texttt{sudo dpkg -i ../linux*.deb}}   \end{center} \item Reboot   \begin{center}     \fbox{\texttt{sudo reboot}}   \end{center} \item Run the following commands to check the kernel version   \begin{center}     \fbox{\texttt{uname -a}\\(or) \texttt{cat /proc/version}}   \end{center} \item You can easily uninstall the kernel with the command:   \begin{center}     \fbox{\texttt{sudo apt-get purge linux-image-3.13.3 linux-image-3.13.3-dbg}}   \end{center} \end{enumerate} \end{document} change environment of a running process How might it be possible to alter some variable in the env of an already running process, for example through /proc/PID/environ? That "file" is read-only.  Need to change or unset the DISPLAY variable of a long-running batch job without killing it. All of my Firefox extensions were spontaneously and simultaneously disabled (converted to Legacy status) a few moments ago.  How can I re-enable them? Firefox 66.0.3 (64-bit) To Find Large Powers in C++ I get double question marks when referring to labels inside figures I have some charts embedded in figures, and I want to be able to refer to them easily using the "Figure x" notation. I'm doing it like this (in this order):  \documentclass[12pt,letterpaper]{article}  ...  \section*{Results} ...we performed a linear regression to obtain a standard curve  (Figure~\ref{0:stdcurve})....  \pagebreak \section*{Results (Graphs)} \subsection*{Construction of Standard Graph for PNP} \begin{figure}[h]   % Figure 1     \centering     \includegraphics[scale=1]{kinematics-res/graph0-1}     \caption{The standard curve for PNP.}     \label{0:stdcurve} \end{figure}   However, instead of getting the output "...to obtain a standard curve (Figure 1)...", I just get "...to obtain a standard curve (Figure ??)..."  I also noticed that the PDFLaTeX compiler is generating warnings saying that it couldn't find the reference of the name 0:stdcurve. Why am I getting these warnings? Is it possible to skip releases during an upgrade? In JavaScript:  encodeURIComponent("©√") == "%C2%A9%E2%88%9A"   Is there an equivalent for C# applications? For escaping HTML characters I used:  txtOut.Text = Regex.Replace(txtIn.Text, @"[\u0080-\uFFFF]",     m =&gt; @"&amp;#" + ((int)m.Value[0]).ToString() + ";");   But I'm not sure how to convert the match to the correct hexadecimal format that JS uses. For example this code:  txtOut.Text = Regex.Replace(txtIn.Text, @"[\u0080-\uFFFF]",     m =&gt; @"%" + String.Format("{0:x}", ((int)m.Value[0])));   Returns "%a9%221a" for "©√" instead of "%C2%A9%E2%88%9A". It looks like I need to split the string up into bytes or something.  Edit: This is for a windows app, the only items available in System.Web are: AspNetHostingPermission, AspNetHostingPermissionAttribute, and AspNetHostingPermissionLevel.