I successfully installed phpmyadmin, via apt-get install phpmyadmin  However I can't find the directory for phpmyadmin, I want it to appear on /var/www/phpmyadmin so that I can use it via URL.  Where is it?  Thanks.
I just finished installing mysql-server, and then installed phpmyadmin which came with Apache and PHP. It set it up alright and made a phpMyAdmin database, but I can't seem to find the URL to get to it -- I tried going to  but it doesn't seem to be there.  I can't find the location in any of the manuals, does anyone know where this is located? Thanks.
I am trying to mimic our institute's PPt-template for presentation foils using the beamer-class. The corporate quidelines prescribe the use of Helvetica as the main font. However, package helvet does not provide a good mathematical font. Therefore I want to replace it with the math font from the cmbright package:  \documentclass{beamer}  \usepackage{lmodern} \usepackage[T1]{fontenc}  %main font Helevtica \renewcommand{\familydefault}{\sfdefault} \usepackage{helvet}  %prevent beamer from meddling with math fonts \usefonttheme{professionalfonts}  %following lines borrowed from cmbright.sty \DeclareSymbolFont      {operators} {OT1}{cmbr}{m}{n} \DeclareSymbolFont        {letters} {OML}{cmbrm}{m}{it} \SetSymbolFont      {letters}{bold} {OML}{cmbrm}{b}{it} \DeclareSymbolFont        {symbols} {OMS}{cmbrs}{m}{n} \DeclareMathAlphabet{\mathit} {OT1}{cmbr}{m}{sl} \DeclareMathAlphabet{\mathbf} {OT1}{cmbr}{bx}{n} \DeclareMathAlphabet{\mathtt} {OT1}{cmtl}{m}{n} \DeclareMathAlphabet{\mathbold}{OML}{cmbrm}{b}{it} \DeclareMathSymbol{\alpha}{\mathalpha}{letters}{11} \DeclareMathSymbol{\beta}{\mathalpha}{letters}{12} \DeclareMathSymbol{\gamma}{\mathalpha}{letters}{13} \DeclareMathSymbol{\delta}{\mathalpha}{letters}{14} \DeclareMathSymbol{\epsilon}{\mathalpha}{letters}{15} \DeclareMathSymbol{\zeta}{\mathalpha}{letters}{16} \DeclareMathSymbol{\eta}{\mathalpha}{letters}{17} \DeclareMathSymbol{\theta}{\mathalpha}{letters}{18} \DeclareMathSymbol{\iota}{\mathalpha}{letters}{19} \DeclareMathSymbol{\kappa}{\mathalpha}{letters}{20} \DeclareMathSymbol{\lambda}{\mathalpha}{letters}{21} \DeclareMathSymbol{\mu}{\mathalpha}{letters}{22} \DeclareMathSymbol{\nu}{\mathalpha}{letters}{23} \DeclareMathSymbol{\xi}{\mathalpha}{letters}{24} \DeclareMathSymbol{\pi}{\mathalpha}{letters}{25} \DeclareMathSymbol{\rho}{\mathalpha}{letters}{26} \DeclareMathSymbol{\sigma}{\mathalpha}{letters}{27} \DeclareMathSymbol{\tau}{\mathalpha}{letters}{28} \DeclareMathSymbol{\upsilon}{\mathalpha}{letters}{29} \DeclareMathSymbol{\phi}{\mathalpha}{letters}{30} \DeclareMathSymbol{\chi}{\mathalpha}{letters}{31} \DeclareMathSymbol{\psi}{\mathalpha}{letters}{32} \DeclareMathSymbol{\omega}{\mathalpha}{letters}{33} \DeclareMathSymbol{\varepsilon}{\mathalpha}{letters}{34} \DeclareMathSymbol{\vartheta}{\mathalpha}{letters}{35} \DeclareMathSymbol{\varpi}{\mathalpha}{letters}{36} \DeclareMathSymbol{\varrho}{\mathalpha}{letters}{37} \DeclareMathSymbol{\varsigma}{\mathalpha}{letters}{38} \DeclareMathSymbol{\varphi}{\mathalpha}{letters}{39} \let\upDelta\Delta \let\upOmega\Omega \let\upGamma\Gamma \let\upTheta\Theta \let\upLambda\Lambda \let\upXi\Xi \let\upPi\Pi \let\upSigma\Sigma \let\upUpsilon\Upsilon \let\upPhi\Phi \let\upPsi\Psi  %doesn't seem to have an effect %\DeclareMathSizes{12}{12.5}{10}{10}  \begin{document} \begin{frame}  Some Math E$E$ \end{frame} \end{document}   This works quite well, except that the math letters are somewhat smaller than the normal Helvetica text. Is there a way to scale the fontsize, say by 1.1, if the typesetter is in math mode? System.Drawing in Windows or ASP.NET services According to , it is not a particularly good idea to use classes within the System.Drawing namespace in a Windows Service or ASP.NET Service. Now I am developing a class library which might need to access this particular namespace (for measuring fonts) but it cannot be guaranteed that the host process is not a service.  Now there is a less optimal method I can fall back to if System.Drawing is unavailable, but if it is possible, I would rather use classes in System.Drawing. So what I would like to do is to determine at runtume if System.Drawing is safe or not, and if it is, use it, otherwise fall back to the suboptimal option.  My problem is: How could I possibly detect if System.Drawing is safe to use?  I think I should either   Detect if the current process is a Windows Service or ASP.NET service Detect if GDI is available Or maybe there is a way to ask System.Drawing.dll itself if it is safe to use   Unfortunately, I cannot come up with a way to implement any of these approaches. Does anyone have any idea? How to prove this inequality $\left|x\sin{\frac{1}{x}}-y\sin{\frac{1}{y}}\right|<2\sqrt{|x-y|}$? For any real numbers $x,y\neq 0$,show that $$\left|x\sin{\dfrac{1}{x}}-y\sin{\dfrac{1}{y}}\right|&lt;2\sqrt{|x-y|}$$ I found this problem when I dealt with . But I can't prove it. Maybe the constant $2$ on the right hand side can be replaced by the better constant $\sqrt{2}$? Thank you. Sci-fi series: humans are immune to telepathy, become soldiers for an alien group fighting against invertebrate telepaths The series involves two groups of aliens who have been fighting an interstellar war for many years before the first book.  The war is started by a race of jellyfish-like telepaths who have used their powers to control several species which they use as soldiers.  The jellyfish aliens have declared a holy war against all sapient vertebrates.  The only species on their side that aren't being actively controlled through their telepathy are invertebrate species who have joined the holy war.  In this series, humans are immune to telepathy--what's more, a completely unconscious reflex tends to destroy the mind of anything even attempting to affect their minds.  One of the central themes of the series is how well suited humanity is to warfare, and all the sacrifices forced on humanity as they become nothing but soldiers fighting against the jellyfish, losing almost all culture not in some way related to being soldiers, as the other races in their alliance take over the other roles.  Other species I recall include a bird race that is gifted at linguistics but can be sent into shock by even seeing a low quality recording of a human walking around a room.  They just cannot handle the hide or flee reflexes triggered by seeing such an obvious predator.  Another race is a crab like group that is so antisocial they all keep suicide buttons at hand when working with other races, and only work to help the human alliance's side because the jellyfish won't leave them alone.  There is a race that bears a faint resemblance to large rats who were previously the best soldiers on their side, and another renowned for their intellect. Under what circumstances will a passive HDMI-to-VGA adapter work? I have bought a no-brand, passive HDMI Male to VGA Female adapter, to link up a PC with a more dated monitor. It did not work.  After doing some reading, I have learned that buying such an adapter is often discouraged because in many cases it will not convert the signal from Digital to Analog, or the Motherboard/CPU on a specific computer might not be compatible with that particular adapter.   So my question is: seeing how there are so many of these passive adapters on the market, are there circumstances under which they actually do suffice to connect an HDMI output to a VGA input? Or are they generally just a rip-off?  Example of the kind of adapter I bought: Logarithmic y-axis and restrict y to domain fails I'm trying to plot data with a logarithmic y-axis and restricting the y-data to a specified domain, but compilation fails for a reason I don't understand. This is the code:  \documentclass{standalone} \usepackage{pgfplots} \begin{document}% \begin{tikzpicture} \begin{axis}[ymode=log, restrict y to domain=1:6] \addplot coordinates {(0, 1.1e1) (1, 1.7e3) (2, 0.0e0) (2, 3.4e7) (4, 8.1e5)}; \end{axis} \end{tikzpicture} \end{document}   Running it results in an error message:  ! Missing number, treated as zero. &lt;to be read again&gt;                     i l.6 ..., 1.7e3) (2, 0.0e0) (2, 3.4e7) (4, 8.1e5)};   According to the pgfplots manual for version 1.5.1 (29 December 2011), page 272 (about restrict x/y/z to domain), For logarithmic axes, min and max are logs of the respective values. If I disable either the logarithmic y-axis or the domain-restriction, the code runs successfully and output is as expected (but not as desired).  Software versions:   pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) (format=pdflatex 2012.5.30) pgfplots 2011/12/29 v1.5.1 (git show 1.5.1-4-g53e640f )  tikz 2010/10/13 v2.10 (rcs-revision 1.76).   What's going on? What am I doing wrong? Or is this a bug? Detecting the system DPI/PPI from JS/CSS? I'm working on a kind of unique app which needs to generate images at specific resolutions according to the device they are displayed on. So the output is different on a regular Windows browser (96ppi), iPhone (163ppi), Android G1 (180ppi), and other devices. I'm wondering if there's a way to detect this automatically.  My initial research seems to say no. The only suggestion I've seen is to make an element whose width is specified as "1in" in CSS, then check its offsetWidth (see also ). Makes sense, but iPhone is lying to me with that technique, saying it's 96ppi.  Another approach might be to get the dimensions of the display in inches and then divide by the width in pixels, but I'm not sure how to do that either. Why is ANOVA taught / used as if it is a different research methodology compared to linear regression? ANOVA is equivalent to linear regression with the use of suitable dummy variables. The conclusions remain the same irrespective of whether you use ANOVA or linear regression.   In light of their equivalence, is there any reason why ANOVA is used instead of linear regression?   Note: I am particularly interested in hearing about technical reasons for the use of ANOVA instead of linear regression.   Edit  Here is one example using one-way ANOVA. Suppose, you want to know if the average height of male and females is the same. To test for your hypothesis you would collect data from a random   sample of male and females (say 30 each) and perform the ANOVA analysis (i.e., sum of squares for gender and error) to decide whether an effect exists.  You could also use linear regression to test for this as follows:  Define:  $\text{Gender} = 1$ if respondent is a male and $0$ otherwise. $$ \text{Height} = \text{Intercept} + \beta * \text{Gender} + \text{error} $$ where: $\text{error}\sim\mathcal N(0,\sigma^2)$  Then a test of whether $\beta = 0$ is a an equivalent test for your hypothesis. So, after a few sessions, the new player I'd invited has been a bit of a disaster. He doesn't get on well with any of the other players, laughed when someone's character died (in our campaign that's permanent at the moment), and generally has been a nuisance. However, he doesn't seem to notice this. I've talked to him about his behaviour, but it hasn't helped. Several other players have also approached me on their own to register concerns.  The long and short of it is, he's not a good fit for our game or social group, due to his abrasive personality/playstyle (as I and the other players perceive it). He's also not interested in roleplaying (something my group does heavily, at the moment) and continually pushes to place himself in the limelight - which he does by instigating combat and trying to skip over what he sees as 'boring' scenes. His character is a Minotaur barbarian, and the most exotic race in the game, but he only uses it for the stat bonuses, and doesn't even have a backstory - he simply says he doesn't need one. However, I don't want to be rude or otherwise unkind to him, as I will still see him around after he leaves the group, and so will the other players.  How can I politely ask him to leave the group, without being dishonest but avoiding embarrassment for anyone? I also want to avoid seeming to 'abandon' him, or 'go behind his back'.  Note: There are few/no in-game problems with adding or removing characters, and I don't need advice for that. This is strictly about handling the player. The system (not that it's all that relevant to the problem) is Why isn't Higgs coupling considered a fifth fundamental force? How do you effectively study physics? How does one read a physics book instead or just staring at it for hours?   (Apologies in advance if the question is ill-posed or too subjective in its current form to meet the requirements of the FAQ; I'd certainly appreciate any suggestions for its modification if need be.) I know why questions, answers and some other aspects of the site are color-coded and what they mean but I can't find why badges are color-coded. I'll include a snapshot to show what I mean. Lebesgue measurable but not Borel measurable How to install tzdata on a ubuntu docker image? I have the following line in the Dockerfile.  RUN apt-get install -y tzdata   When I run it, it asks for my input. After I provided my input, it hung there. Does anybody know how to solve this problem?  Step 25/25 : RUN apt-get install -y tzdata  ---&gt; Running in ee47a1beff84 Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed:   tzdata 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 189 kB of archives. After this operation, 3104 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2018i-0ubuntu0.18.04 [189 kB] debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin:  Fetched 189 kB in 1s (219 kB/s) Selecting previously unselected package tzdata. (Reading database ... 25194 files and directories currently installed.) Preparing to unpack .../tzdata_2018i-0ubuntu0.18.04_all.deb ... Unpacking tzdata (2018i-0ubuntu0.18.04) ... Setting up tzdata (2018i-0ubuntu0.18.04) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Configuring tzdata ------------------  Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located.    1. Africa      4. Australia  7. Atlantic  10. Pacific  13. Etc   2. America     5. Arctic     8. Europe    11. SystemV   3. Antarctica  6. Asia       9. Indian    12. US Geographic area: `` In Italian, when I write a sentence about an action (e.g. eating fish, playing), I would use the infinitive, such as  mangiare pesce fa bene alla salute (which literally is "to eat fish is healthy"), or giocare aiuta ad imparare (which literally is "to play helps to learn").   I would use the gerund in giocando si impara, but that would roughly mean "When playing, you learn." and in this case the infinitive would not be correct. (Giocare si impara is not what you would say in Italian.)  Should I use the infinitive, or the gerund, in sentences similar to the following ones?   To play with fire is dangerous. To win the lottery is just a matter of luck. To escape from Alcatraz is impossible. To practice makes you perfect.   Is the infinitive always wrong, when the verb is the subject of a sentence? What is the ultimate postal code and zip regex? I'm looking for the ultimate postal code and zip code regex. I'm looking for something that will cover most (hopefully all) of the world. Proof of orthogonal matrix In the following question we regard vectors in $\Bbb R^n$ as columns and define the dot product in the usual way which means that $x · y$ = $x^{t}y$  a) If A is an n × n matrix show that $A_{ij}$ = $e_i \cdot A e_j$ where $e_i$, $i =1, \dots , n$ are the standard basis vectors in $\Bbb R^n$  b) Show that a matrix $P$ is orthogonal if and only if ($Px$) · ($Py$) =$x · y$ for all $x, y$ ∈ $\Bbb R^n$  Working -   I got part (a) alright but have no idea of where to start with part (b) except to use the information that an n x n matrix $P$ is orthogonal if $P^{-1}$= $P^{t}$ and that $P^{t}$$P$=$I$, $P$$P^{t}$=$I$, where $I$ is the identity matrix. Any suggests are gracefully appreciated. Feel free to edit my question for clarity. Thank you Games like Super Metroid and Aquaria present the terrain with the other facing parts having rocks and stuff while deeper behind them (i.e. underground) there's different detail or just black.      I would like to do something similar using polygons. Terrain is created in my current level as a set of overlapping square boxes. I'm not sure if this rendering method will work such a system for creating terrain but if anyone has ideas I'd love to hear them. Otherwise I'd like to know how I should re-write the terrain rendering system so it actually works to draw terrain in this manner... Ubuntu 11.10 is installed, and I have updated my system via Ubuntu Software Centre, and after the update 3 updates remain in the list. But I am unable to select them, the tickboxes cannot be checked and Ubuntu Software Centre gives no error when I try to check.  Also, below it says "There is no update to be installed" and even though there seems to be updates Install Updates button is unclickable.  What should I do in order to install these updates? Do any queries exist that require RIGHT JOIN, or can they always be re-written with LEFT JOIN?  And more specifically, how do you re-write this one without the right join (and I guess implicitly without any subqueries or other fanciness):   SELECT * FROM t1 LEFT JOIN t2 ON t1.k2 = t2.k2 RIGHT JOIN t3 ON t3.k3 = t2.k3