Creating if-else statement for two combo boxes in ArcGIS API for JavaScript?
Creating if-else condition with ArcGIS API for JavaScript combo boxes?
How to fill in the Schengen visa application form when going to several countries? I will be traveling to France, Italy and Germany with France being my main destination. So I am applying in the French consulate for Schengen visa. I will be traveling on my own and will be staying in hotels.  I had some doubts with regards to filling the application form for Schengen visa.    Q22- Member State(s) of destination: Should I fill in all three of my destinations ? Q31 Surname and first name of the inviting person(s) in the Member State(s). If not applicable, name of the hotel(s) or temporary accommodation(s) in the Member State(s) : This field has barely a line of space to enter. Should I just enter the hotel name in France (my main destination) ?  Q32 Surname and first name of the inviting person(s) in the Member State(s). If not applicable, name of the hotel(s) or temporary accommodation(s) in the Member State(s): Same problem as Q31. Very little space. Should I just enter address of the one hotel I entered in earlier Q ? Where is the "Add vector layer"-button in GRASS 6.4.4. plug-in QGIS 2.10.1? I've just downloaded and installed the new version of QGIS 2.10.1 with GRASS 6.4.4.  When opening a new GRASS mapset and importing layers, I missed the button "Add a new vector layer". I've updated the GRASS plugin, but again the button wasn't there (all other GRASS symbols except "add raster layer" were visuable).  It's maybe a stupid question of a GIS beginner, but what can I Do? Is there an option to add (not import) a vector layer via the GRASS toolbox? Physics are not simulated past a certain frame? Figure refs stop working after I added a new counter I was using the amspset document class for generating exam practice problems. I had wanted to add some referencing to the problems so I started a new counter like this (adapted from some Tex Exchange post)  \newcounter{P} \newcommand{\plb}[1]{\refstepcounter{P}\label{#1} \textbf{P-\ref{#1}.}}  \begin{problem} \plb{p1} A parallel-wire transmission line is constructed of \#6 AWG copper wire (diameter $d=0.162$ in., conductivity $\sigma_c=5.8\times 10^7$ S/m) with a 12-inch separation in air. Assuming no leakage between the two wires, find $R'$, $L'$, $G'$, and $C'$. Assume a working frequency of 1 MHz. \end{problem}  \begin{solution} Using Table.~\ref{tab:tlparam} and Fig.~\ref{fig:tlempl},  \[ Rs = \sqrt{\pi f \mu_c/\sigma_c} = 2.61\times10^{-4}~ \Omega\] \[ R' = \frac{2R_s}{\pi d} = 4.04\times10^{-2} ~\Omega\text{/m} \] \[ L' = \frac{\mu_0}{\pi} \ln{\frac{2D}{d}}=2.0~\mu \text{H/m} \] \[ C' = \frac{\pi \epsilon}{\displaystyle\ln{\frac{2D}{d}}}=5.56 ~\text{pF/m} \] $G'=0$ because the problem states that there is no leakage between the two wires. \end{solution}  \begin{figure}[ht] \begin{centering}     \includegraphics{fig24}     \caption{(Fig.2-4 from FAE) A few examples of transmission lines.} \end{centering} \label{fig:tlempl} \end{figure}  \begin{table}[ht] \caption{(Table 2-1 from FAE)Transmission-line parameters $R'$, $L'$, $G'$, and $C'$ for three types of lines.}     \begin{tabular}{c}         \hspace{3cm}\includegraphics{tb21}     \end{tabular} \label{tab:tlparam} \end{table} ... and more   Now all the figure references stop working, I get "Fig. " instead of "Fig. 1". The table references are alright though. Any idea what the problem could be? wpa_supplicant store password as hash (WPA-EAP with phase2="auth=PAP") Is there a way to store my password in /etc/wpa_supplicant/wpa_supplicant.conf as some hash instead of plaintext?  By "password" I refer here to the password used for phase2 authentification. I do not refer to the Preshared Key (PSK) which could be hashed using wpa_passphrase.  For phase2 MSCHAPv2 or MSCHAP authentification I could store the password as MD4 hash using nt_password_hash (see example wpa_supplicant.conf line 659).  Is there any way to store my PAP password as hash?  Or: Is there a way to store the password in some sort of external storage? The example wpa_supplicant.conf suggests the use of such an external storage (using ext:????) but I could not find any documentation about it.  I am aware that storing the password as hash does not increase wifi security. But as the password MUST be the same as the password for other services (account management, subscriptions, payments ...) I don't want it to be stored as plaintext. I cannot find these strings using Transifex:      (name hidden from user)       Regards,   {site name} Moderation Team          There is  and it seems like this string does not work ok (it is translated and approved, but, unfortunately, not rendered on the site).   All of the strings are taken from Moderator Private Messages interface.   Could you please fix it? So I tried a few different answers that I found here, and I feel that this is possibly a duplicate question, but everything I have tried from the other solutions hasn't worked.  Basically I am trying to bake a material to a texture that will be used in Unity, but every test gives me a black background image.  In the image below, the top image texture is the mask (black and white, white being the leaves), and the bottom image texture is the colour. Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot How do you retrieve items from a dictionary in the order that they're inserted? Is it possible to retrieve items from a Python dictionary in the order that they were inserted? Self-explanatory title really! A student today asked me why they were called integral domains -- and I realised that the word "integral" seems to be being used in a way totally unlike any other way I hear it used in mathematics. The student suggested that "integral" was used because the integers were an example -- but I didn't buy this because by that logic they could have been called "rational domains" or "real domains".  Any ideas anyone? Seeing through objects in Game engine Find the smallest disk in complex plane containing the eigenvalues of a matrix (NBHM 2012) Consider the given matrix  $$\left[\begin{matrix}1&amp; -2&amp; 3&amp; -2 \\1&amp; 1&amp; 0&amp; 3\\-1&amp; 1&amp; 1&amp; -1\\0&amp; -3&amp; 1&amp; 1&amp;\end{matrix}\right]$$  Find out the smallest disk like ($|z-1| &lt; r$ ) in the complex plane containing the eigenvalues of the given matrix.  One easiest method is to find out the eigenvalues from the characteristic equation of the matrix. I can do it so no problem with it.   I am looking for a method to solve the problem without the above method that can be evaluated in very short time. This type of method is possible, I believe.  Thank you for your help Punctuation in an indirect quotation Consider the brief passage:     "I love your work, but calling you 'the artist' {1} just doesn't seem to be   cutting it anymore. What shall I call you?"      "OK. Call me George." {2}   So my instincts tell me to put {1} in single quotes as opposed to no punctuation (or perhaps even italics) but to do the opposite for {2}. Is this right? Why?  Let me expand this one further iteration:     "Wow, that's a great name, especially with this crowd. Maybe for your next book    you should call yourself Ringo."{3} Not only in ortho: top, front, back.  Please don't link this answer   I want a background image like this guy has -> Function overloading in C Xorg: High CPU Usage (94%) on Moving Mouse (Ubuntu 18.04) whenever I move my mouse enough it causes high cpu usage. Screenshot provided is on a fresh X session.    This also causes some frequent freeze ups if I'm running some other programs e.g gaming.  [1075299.085] (II) event4  - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost. [1077813.434] (II) event4  - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost. [1077814.079] (II) event4  - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost. [1077814.246] (II) event4  - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost. [1077814.682] (II) event4  - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost. [1077831.975] (EE) client bug: timer event4 debounce: offset negative (-18ms) [1077831.975] (II) event4  - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost. [1077831.975] (II) event4  - Corsair Corsair Vengeance M90 Mouse: WARNING: log rate limit exceeded (5 msgs per 30000ms). Discarding future messages. [1120008.128] (II) event4  - Corsair Corsair Vengeance M90 Mouse: SYN_DROPPED event - some input events have been lost.   Is there any way for the CPU usage not to be this high?  EDIT:  I tried with other mice. The CPU usage appears to increase with the Mouse DPI or to be exact, a generic mouse will cause a CPU usage spike, but not as much as a gaming mouse.  I also checked if I have hardware acceleration enabled.  $ glxinfo | grep "direct rendering" direct rendering: Yes   EDIT 2:  CPU is an AMD FX-6350  GPU is AMD RX Vega 56 Why is my text pixelated? Within my game I have some cubes with text which render fine. In addition to the cubes I want to display some static text, e.g. the current score. The score text has the camera as parent and a copy rotation constraint on the camera. While this concept works fine in principle, the score text is displayed very pixelated. I already increased the font size to 50 and made the text smaller by scaling it down, but it still doesn't show nicely. The score text is about 11 Blender units away from the camera. If I move the score text further away, it displays better, but then the text interferes (collides) with the cubes. What could I do to improve the quality of this text? Download . Open the SSCCE in Blender 2.70. Hover your mouse over the 3D viewport. Press P to start game engine. How to print a string at a fixed width? WhatsApp for Ubuntu Phone? Does someone know if there already is a WhatsApp Version for Ubuntu Phone? I decided to install Ubuntu on my Android, but I don't want to use my phone without WhatsApp. How do I set environment variables from Java?