Setting list items in ice:SelectOneMenu
How to populate options of h:selectOneMenu from database?
How long do you get to use a UK standard visitor visa from time of issue or is it valid for entry indefinite I am going to apply for a standard visitor visa for my girlfriend to enter UK. If it is issued how soon does it have to be used after issue, ie. validity until time of entry? Schengen Visa Refusal: Justification for the purpose and conditions of the intended stay was not provided Schengen refusal formulae can be difficult to understand sometimes.    When an applicant receives a refusal with "Justification for the purpose and conditions of the intended stay was not provided", what does it mean? How do you find the distance from a point to a plane? I am having trouble with this:      Find the distance from the point $(1,1,1)$ to the plane $2x+2y+z=0$.   Any ideas? Thanks. How to install qt 4.8 from repository? Prevent mail being marked as spam This is a  about avoiding outgoing mail being classified as spam.   Also related:                    I'm wondering how to prevent my emails from my site being marked as spam? I'm using sendmail.  I'm trying to send emails through my ruby-on-rails application. The mails are all written in swedish (if that does make a difference?). I don't know why they keep getting marked as spam.  Are there any things that I can do to minimize the risk? State of the art in quantum memory Presently, how much information can a quantum computer store, in how many qubits? What restrictions are there and how does it vary across realizations (efficiency of data storage, ease of reading and writing, etc)? How do I change the GRUB boot order? I have both Windows 7 and Ubuntu installed on a shared machine. Because a lot of the non-developers use Windows, I'd like to change the boot order to make it easier for them.  Currently the boot order looks like the following:   Ubuntu 11.10 kernelgeneric *86 Ubuntu 11.10 kernelgeneric *86 (safe boot)  Memory test Memory test Windows 7 on /dev/sda6   How do I change the default order so that Windows 7 is at the top of the list?   Windows 7 on /dev/sda6 Ubuntu 11.10 kernelgeneric *86 Ubuntu 11.10 kernelgeneric *86 (safe boot)  Memory test Memory test Induction with floor, ceiling $n\le2^k\implies a_n\le3\cdot k2^k+4\cdot2^k-1$ for $a_n=a_{\lfloor\frac{n}2\rfloor}+a_{\lceil\frac{n}2\rceil}+3n+1$ Interactive pixel information of an image in Python? Automatically put PGFPlots xtick scale label in x axis label I'm trying to put xtick scale label (defined by pgfkey /pgfplots/xtick scale label code/.code) in x axis label, between variable name and unit.  I've tried executing using the option xlabel = {$ x $ (\pgfkeysvalueof{/pgfplots/xtick scale label code/.code} m)} to put in but this doesn't work.  I've also tried the following xtick scale label code/.code={\pgfkeyssetvalue{/pgfplots/xlabel}{#1}} to force PGFPlots to change my xlabel but it doesn't work as well.  I know I can do this by hand, but I'm interested in automatic approach. Is there a workaround or a solution to this?  My MWE is:  \documentclass{article} \usepackage{pgfplots} \pgfplotsset{compat=1.14}  \begin{document}      \begin{tikzpicture}     \begin{axis}[         scaled x ticks=true,         scaled y ticks = false,         y tick label style={/pgf/number format/fixed},         %xtick scale label code/.code={\pgfkeyssetvalue{/pgfplots/xlabel}{#1}},         xlabel = {$ x $ (\pgfkeysvalueof{/pgfplots/xtick scale label code/.code} m)},         ylabel = {$ y $},     ]      \addplot[line width=3pt] coordinates {(0.0,0.0)(100,1)(400,2)(10000,0)};      \end{axis}     \end{tikzpicture}  \end{document}   Output from this code is: Three linked question on non-negative definite matrices. 1.a symmetric matrix in $\mathbb{M}_n(\mathbb{R})$ is said to be non-negative definite if $x^Tax≥0$ for all (column) vectors $x\in \mathbb{R}^n$. Which of the following statements are true? (a) If a real symmetric $n\times n$ matrix is non-negative definite, then all of its eigenvalues are non-negative. (b) If a real symmetric $n\times n$ matrix has  all of its eigenvalues are non-negative , then it is non-negative definite. (c) If $ A\in \mathbb{M}_n(\mathbb{R})$, then $AA^T$ is non-negetive definite. 2. only one of the following matrices is non-negetive definite. Find it. (a) $\begin{pmatrix} 5 &amp; -3 \\ -3 &amp; 5 \end{pmatrix}$. (b) $\begin{pmatrix} 1 &amp; -3 \\ -3 &amp; 5 \end{pmatrix}$. (c) $\begin{pmatrix} 1 &amp; 3 \\ 3 &amp; 5 \end{pmatrix}$.      3.let $B$ be the real symmetric non-negative definite $2×2$ matrix such that $B^2=A$ where $A$ where is the non-negetive definite matrix in question $2$.write down the characteristic polynomial of $B$.      My thoughts..  For1.  (a) &amp; (b) are true but not sure about (c). For 2. (a) is the correct option since it has all positive eigen values.they are $2,8$. For 3. Eigen values of $B$ will be $\sqrt{2}$ and $\sqrt{8}$. So the answer is $x^2-3√2x+4=0$.      Can anybody help me to verify the solutions of the above problems. How to find the 'sizeof' (a pointer pointing to an array)? Windows & Ubuntu dual boot.No menu to choose OS? Open terminal window and execute Python script on startup I have a Python script which I would like to execute at every startup. I can run it by adding this to the startup applications:  python3 /path/to/script.py   That works, but it doesn't open a terminal window, so I can't see the program's output. How could I make it open a terminal window and execute the script in there?  Note: I get the window to stay open with input(' ') at the end of the Python script. Thanks! I'm trying to boot Canonical's Azure 16.04 .vhd file in a VirtualBox VM and it hangs at "non blocking pool is initialized".  It works in Hyper-V, so it may only be a bug in virtual box (5.0.20). Finding rank-nullity of a given matices Is it OK to borrow a ground wire from a different circuit? I've got a circuit in the basement carrying a handful of outlets.  This circuit has no ground wire.  I want to add a couple of outlets and want them to be grounded.  I may even want gfci outlets on them in the future.  I have no reasonable way of getting a ground wire to the panel but I do have easy access to another circuit that does have a ground wire.  Is it acceptable to borrow or share a ground wire between circuits?  If not, why not?  Both circuits are 20A with 12 AWG wire. How to add right-click (on desktop) to create text file functionality 16.04.2 Ubuntu GNOME Suppose I wish to allow only users who have scored at least 15 in the particular tag to answer my question, Is it possible to set a condition like this while asking a question? So that I can avoid strangers/answers from dummy users. Small snap loop devices visible in gnome-disk-utility OR what is the function of snap ubuntu-core