Calling a template method on a class template parameter
Where and why do I have to put the "template" and "typename" keywords?
Should you gain rep for asking a duplicate question? terminal: non-english characters I used to be able to copy&amp;paste (or type if I load respective keyboard layout) any kind of characters (eg. é ö ñ ß و 好) in my console/terminal.  Now I bought a new computer and it does not work any more, only English/ASCII characters (but in other programs, e.g. firefox, it still works).  Distribution: Ubuntu. Terminals tried: gnome-terminal, xterm, konsole.  I tried  but after reboot echo $LANG still gives C. I also tried setting Character encoding to Unicode(UTF-8) in the gnome-terminal Terminal-menu - without effect.  Question: How can I get a terminal that is able to deal with non-English characters? Is there a way to disable recovery mode so it won't be possible to factory reset your phone?  Basically what I am trying to do, is that it should be impossible to factory reset the phone as there is no recovery partition.  (Example format the recovery partition, or hide the option of factory reset on the recovery menu, build a custom recovery etc.)  P.S.. I was thinking of maybe removing a system app (example package installer) and making it a user app, and therefore when you factory reset the phone it won't start cause the system app is missing, but when I tried that, the phone wouldn't start even without resetting it, as the system needs the system app to start, ( I thought that maybe even though I removed the app from being a system app, the phone would still start as it's still there as a user app, and only after resetting the phone - that the user apps get deleted, the phone won't start as it's missing the app).  Thanks in advance Switching to different font size(s) locally How to move files to specific folders based on CSV entries? Undefined reference to `pow' and `floor' Local explanation of the Aharonov-Bohm effect in terms of force fields Here is an interesting paper for the Physics SE community:      On the role of potentials in the Aharonov-Bohm effect. Lev Vaidman. .  [quant-ph].   You should check it out because it's an amusing read, but I will summarise the argument to whet your appetite, assuming you have basic familiarity with the . In the traditional AB setup, one considers an electron in a superposition of paths, taking it in two opposite directions around a solenoid treated as a classical source of the electromagnetic field. The observable relative phase acquired between the electron's paths is attributed to the influence of the magnetic vector potential on the electron, which cannot be globally gauged away - despite the absence of a physical field anywhere along the electron's path(s) - due to a topological obstruction.  Instead, Vaidman considers the effect of the electron on the sources of the field, treating the latter as quantum particles. He shows that the relative phase between the two branches of the wavefunction can be considered as arising from the action of the physical field of the electron, which is not zero at the position of the sources. However, Vaidman uses highly contrived gedankenexperiments and completely semi-classical arguments, which begs a pair of concrete and related questions.  1) Can Vaidman's first, electric AB effect gedankenexperiment be described in a fully quantum manner, by solving (at least approximately) the three-particle Schroedinger equation? If not, why not?  2) Is it possible to explain within this formalism the experiments of Tonomura et al. (), who used a superconductor to completely shield the magnetic field of the source? I've been wondering about this one for a while; I find it a little weird how abruptly it happens. Basically, why do we need just three uniforms for $Z_n$ to smooth out like it does? And why does the smoothing-out happen so relatively quickly?  $Z_2$:     $Z_3$:    (images shamelessly stolen from John D. Cook's blog: )  Why doesn't it take, say, four uniforms? Or five? Or...? I can show that for $x &gt; 0$ and $r_{i} &gt; 0$ we have $$ \left(\, x + r_{1}\,\right)\ldots\left(\, x + r_{n}\,\right)\ \geq\ \left[\, x + \left(\, r_{1}\ldots r_{n}\,\right)^{1/n}\,\right]^{n}.$$ However, I can't do this using straight up induction, strong or weak. Can someone do this?   You can show the inequality holds for $n$ if it holds for $n+1$ using $r_{n+1} = (r_1 \cdots r_n)^{1/n}$, so going down isn't a problem, but going up has eluded me. Additionally, you can show that if it holds for $n=a$ and $n=b$ then it holds for $n=ab$. Using powers of two and the above is sort of a way to prove the above by induction but it certainly isn't "normal".  You can also prove the above using Lagrange multipliers (which isn't surprising). The last proof I know is where you compare coefficients of $x^k$ and use the AM-GM inequality. How can I control HDD spin down time? I have 2 HDDs in my PC. Ubuntu is turning off the secondary HDD very quickly after about 15 minutes, which is short for me. I need to control this time. How can I do it?  I tried GNOME power management but did not find it useful. How can I use an align environment flush left? Is there a way possible to imitate the align environment for math mode commands, without having all writing being placed toward the center on the output page?  MWE:  \documentclass{article} \usepackage{mathtools}  \begin{document} \begin{align*} \cos\theta_1 \cos\theta_2-\sin\theta_1\sin\theta_2 &amp;= \cos(\theta_1 +\theta_2) \\ \sin\theta_1 \cos\theta_2 + \cos\theta_1 \sin\theta_2 &amp;= \sin(\theta_1+\theta_2) \end{align*}  \end{document} Can a fundamentally deceptive character work? This question is in the spirit of another . I would like to explore a style of role-playing in DnD (specifically 3.5e) that may be slightly different from how characters usually work. The question aims to answer if and how such a character can work and be played for everyone's amusement. I am still relatively new to the game, so please forgive me if this question is naive. Probably people have tried before and discarded the idea.  Character concept The character is supposed to be deceptive, on both the character and the player level. He will thrive to achieve some higher goal that is different to the party's, but not in an open way. He will play along and work for the party's interest, but wait for his moment (ideally towards the end of the campaign) to strike. As such an evil religious fanatic would be ideal, who works towards achieving the goals of his deity by deceiving his party members, gaining their trust and acquiring resources together with them, but when given the choice would take the powerful magical item and bugger off with it. Motivation and Concerns The main motivation is to bring some diversity to the usual scheme. People tend to play funny characters and there is usually (at least in our games) happy peace in the party with the only dispute being about who gets the loot. I feel a character like the one suggested would make things more interesting since people can't take their party members for granted anymore. The concern is of course that it might not be very fun for the party to have their plans destroyed by one member of the party playing an &quot;extra cool&quot; character. I think done well, it could still be fun for the other players though, which is why the rest of the question will be about how to do it. How? First of all the DM should probably know, maybe he can even build it into his campaign. The exact story details will then depend on the exact setting, but I am sure together with the DM something could be worked out. I am mainly interested in if it can work and how it could be fun. Is it correct to say "I kindly request you to..."? Need help with proof for Dedekind cuts on $\mathbb{Q}^+$ I am working on a proof about Dedekind cuts on the positive rational numbers. I have been stuck for a while on the following point and would appreciate any help.  Given $x\in \mathbb{Q}^+$ such that $x^2&lt;2$, how to find $y\in \mathbb{Q}^+$ such $y&gt;x$ and $y^2&lt;2$? What are the differences between "su", "sudo -s", "sudo -i", "sudo su"? I already read it from manual but I can't see difference..  su - change user ID or become superuser  sudo -s [command]   The -s (shell) option runs the shell specified by the SHELL environment variable if it is set or the shell as specified in passwd(5).  If a                    command is specified, it is passed to the shell for execution.  Otherwise, an interactive shell is executed.  sudo -i disappear description in manual What is the advantage to crushed garlic over minced garlic beyond texture? I use a lot of garlic in my cooking, especially minced garlic.  But lately I've been doing some more recipes with crushed garlic and while I love the texture of cooked garlic, I can't see how it could be better than minced garlic for the overall taste.  Is there an advantage to crushed garlic over minced garlic, beyond texture? I am trying to understand the Georgi chapter of tensor methods in $SU(3)$ representations, and I don't know how to resolve the tensor product of 2 matrices in a 2 heavy quark + 2 light antiquark system. Namely:  Let the tetraquark system be:           $QQ\bar q\bar{q}$  So, those $Q$ heavy quarks interact and can be understood in the $3\bigotimes 3$ representations for $SU(3)$, and $\bar q\bar q$ can be understood as the $\bar 3\bigotimes\bar 3=3\bigoplus\bar 6$ representations for $SU(3)$.  The interaction diagram for the $Q$ heavy quarks is shown in the following scheme, which is an analogy to the Feynman Diagram where a gluon is understood to be exchanged between upper and lower arrows:  $i'\xrightarrow{(T_{a})^{i'}_{i}}i ,  {}^iQ$  $j'\xrightarrow{(T_{a})^{j'}_{j}}j ,  {}^jQ$  So, as usuall we consider the elements of $3$ representation as $u^i$, and therefore the elements of $\bar 3$ representation as $v_{j}$.  I must understand how does the following expression transform:  $(T_{a})^{i'}_{i}(T_{a})^{j'}_{j}\cdot(1/2)\cdot (w^iv^j+w^jv^i)=\Xi\cdot(1/2)\cdot(w^{i'}v^{j'}+w^{j'}v^{i'})$  In other words, how can one give the correct value of $\Xi$?  Note1: $T_a$ is understood to be the $a-ith$ generator of the associated Lie Algebra, which come from the definition of the Gell-Mann Matrices.  $(T_{a})^{i}_{j}\propto(\lambda)_{ij}$, in matrix notation.  Note2: I understand the Young Tableaux and they are not intended to be used here, so please don't try to explain this situation through the tables.   Note3: I assume this is a purely solvable mathematical problem and doesn't need a deep insight into the physical concepts...  Also requesting information about how to understand the tensor products in these cases, since I have been checking many sources but the definitions seem not clear enough. Manually installing a program on Debian I have installed Debian on my pc, but the problem is that at the moment I have no Internet connection to this pc. So, to install a program I have to manually downloaded from a pc with internet and then install it to the linux-debian computer.  The question is this: Is there a standard way to make the installation manually? Note that when I connect a usb flash with the program I want to install(that is:   cdparanoia_3.10.2+debian-10.1_i386.deb) and I try opening it I get the message:     Failed to execute child process “ar” no file or directory. I had created the xml document with xml version="1.0".  In that document I need to use the greater than symbol &gt; and less than symbol &lt;.  How should I include those symbols? It's not working.  &amp;gt; and &amp;lt; are not working for me.  Is there any special encoder for this? Weird line in my mirrored mesh