Upgrade PHP-mysql Lib Centos 6
Centos mysql version is 5.5 however PHPmyadmin still says version 5.1
I'm currently typing a mathematical document which counts many sum symbols. I frequently use the align environment to render equations, although the default behaviour of this environment is to render the equations in displaystyle, which in my opinion wastes vertical space. I therefore have added \textstyle at the beginning of each line of math in this environment, but I'm looking for a more convenient solution.   So is there an environment that is similar to align with the exception it displays textstyle math by default ? Thank you. Get on what tile has mouse clicked I am writing a chess game using Java and Swing, And I wanted to get the tile position on which a mouse clicked. I searched through internet, but all of them were really off, and never accurate. When I clicked on a tile's first half, it said it was tile 1, but on the second half, it said it was tile 2, but it was still tile 1. So I was wondering, how can I do it? My tile size is (75, 75) This is the code I've written for tileX: Math.floor((double)evt.getX() / 75), and this is the code I've written for tileY: Math.floor((double)evt.getY() / 75). Code for drawing: ImageIcon l_winter = new ImageIcon(&quot;/Users/user/NetBeansProjects/chess/src/b/bibe/assets/winter/light.gif&quot;);         ImageIcon d_winter = new ImageIcon(&quot;/Users/user/NetBeansProjects/chess/src/b/bibe/assets/winter/dark.gif&quot;);         ImageIcon l_wood = new ImageIcon(&quot;/Users/user/NetBeansProjects/chess/src/b/bibe/assets/wood/light.png&quot;);         ImageIcon d_wood = new ImageIcon(&quot;/Users/user/NetBeansProjects/chess/src/b/bibe/assets/wood/dark.png&quot;);         String theme = th;         int color = 0;         for (int i = 0; i &lt; 600; i = i + 75) {             for (int j = 0; j &lt; 600; j = j + 75) {                 JLabel panel = new JLabel();                 panel.setText(null);                 panel.setSize(75, 75);                 if (color == 0) {                     if (theme.equals(&quot;wood&quot;)) {                         panel.setIcon(l_wood);                     } else if (theme.equals(&quot;winter&quot;)) {                         panel.setIcon(l_winter);                     } else {                         panel.setText(&quot;notexture&quot;);                     }                     //panel.setBackground(new Color(white[0], white[1], white[2]));                     color = 1;                 } else {                     if (theme.equals(&quot;wood&quot;)) {                         panel.setIcon(d_wood);                     } else if (theme.equals(&quot;winter&quot;)) {                         panel.setIcon(d_winter);                     } else {                         panel.setText(&quot;notexture&quot;);                     }                     //panel.setBackground(new Color(black[0], black[1], black[2]));                     color = 0;                 }                 panel.setLocation(j, i);                 getContentPane().add(panel);             }         if (color == 0) {             color = 1;         } else {                color = 0;             }         } The bikeshed problem and Stack Exchange In short, :     If you go before the Board of   Directors and ask for 1.5 billion   dollars to build a nuclear reactor, no   one will review or discuss the details   of the plant. They will assume that   experts have been over every inch of   the plans, and not want to look   foolish by asking a silly question.      However, if you ask the same group to   approve a 30 dollar expenditure for   lumber with which to build a bikeshed   (presumably a British term for the   smallest possible building) then be   prepared for a 45 minute discussion   about all aspects of the bikeshed,   including the color of the paint. The   explanation for this is that everyone   can grasp the scale of a bikeshed.   To transform this problem to Stack Overflow terms, questions that are trivial such as "How to convert a C string to a QString or "What is the difference between . and ->" get a lot more views, answers and votes than real questions of the form "How do I frob this widget" that bother real professionals. Fewer views mean less possible votes for good answers and hence less incentive for people to answer.  How can Stack Exchange solve this problem? Why are there no spaces in Hangul-Words (XeLaTeX - xeCJK) This is my minimal working example:  \documentclass{article}   \usepackage{xeCJK} \setCJKmainfont{Batang}  \begin{document}         나는 남자를 이다 \end{document}   As you see, there are spaces between the Korean words. I compiled with XeLaTeX => PDF with XeTeX Version 3.1415926-2.5-0.9999.3 (MiKTeX 2.9) in TeXnicCenter. However there are no spaces in the outputfile. Help would be greatly appreciated. I'm trying some things with my shell. This includes the following command:  kill $$  My expectation was that the shell would log me out and terminate itself. But instead the bash persists without change.   Any idea why?  I ran this command on different environments (archlinux, debian). The behavior was always the same. How to make a logo where a letter is made of particles of varying sizes? How can I make a logo in Adobe Illustrator like the AntiParticle logo below, from ?   It is a large number circles of different, varying sizes, which form the shape of a text character. How do I beat Uprising on Legendary difficulty? The achievement "Distinguished Service" requires that you beat Uprising on the regular gamemode on Legendary difficulty.  This means we can't pick our usual huge DPS heroes like Bastion and Orisa, and are stuck with Torbjorn, Reinhardt, Mercy, and Tracer.  The phases are as follows:   Hack all 3 terminals Defend the Payload until it's ready Escort the Payload until the gate Destroy all 4 Orisas.   So I ask this after having failed Uprising on Legendary dozens of times.   How do I beat Uprising on all 4 phases?   Specifically asking for the latter 3 phases.    Defending the payload is hard when it gets to the Bastions that drop in because Reinhardt's shield gets melted very quickly and Torbjorn has little to no DPS.  Tracer must be relied on but it seems there is no way to stop the perfect aim of Bastion as strafing around does nothing.  If and when we actually do manage to defend it, we're stuck on escorting, which is even harder thanks to the tank mode Bastions.  And finally, even if we do make it to the final fight, which has only happened once, the fight is so tough that even if we slowly inch ourselves closer to the end we run out of time.  The previous question I asked was different because Uprising (All Heroes) allows you to pick any 4 heroes to form your squad, but the original gamemode will not let you pick. Also, the achievement requires you to play the original mode -- Uprising (All Heroes) on Legendary does not reward players with the achievement. Focus existing terminal with `Ctrl-Alt-T` shortcut Parenthetical pluralization of words ending in '-y' I know someone or the other has asked about disabling ⌘Q, but I like the shortcut, and I use it often. However, I use an email client called Airmail that unfortunately does not keep a service (for notifications) running in the background when it is quitted. However, if I press the close button a service runs in the background, allowing me to receive notifications.  But since I have a habit of pressing ⌘Q all the time to close apps, I was looking into a way I could disable it for only Airmail.  Anyone know of a what to do this? We all know that Superman changes in the phone booth. But where does he put his regular clothes while he's on a mission? He doesn't throw it out, because he changes back. But we don't see him carrying a bag of dirty laundry while he's on a mission.  ("In his right hand, Superman has Lois Lane, and in his left hand he seems to be holding... boxers??)  And I can't imagine he leaves it in the phone booth.  So where does Superman leave his regular clothes after he changes? it normally shows in the bottom corner as a sort of 'pie' that fills up as the picture is downloaded, similar to the 'app downloading' pie when viewing a downloading app on the home page/s  prior to this the picture resolution is terrible I watched a video on youtube (I lost it) that shows rendering parts of the screen to combine them in a single image. I followed it to the point where I couldn't adjust the dimensions under the "set render border", but in the video he had dimensions and I have nothing.  I need it for 4K and 8K renders (without anti-aliasing), but my laptop can't handle it all at once and I don't have time for a 4 hour waiting so this feature will work perfectly.  I'm using version 2.76 so is it moved to another place or removed. Maybe a bug? Does LED brightness change with voltage? Reverse String order Biliniear form to inner product Let $f:V\times V\rightarrow F$ be a bilinear form in a finite inner product space V.  If $F=R$, how can I prove that there exists a single linear transformation $T:V \rightarrow V$ so that for each $v,u\in V$, $f(u,v) = (Tu, v)$ ?  Would that sill be the case if $F=C$? Implementing a PIVOT query How can I pivot the following SELECT statement:           SELECT sc.CID,                 sc.CodeName     as OverviewText,                 scRAG.CodeName  as RAGStatusText             FROM StatusCode      sc LEFT OUTER JOIN ProjectOverview po               ON sc.CID          = po.ProjectOverviewCID              AND po.ProjectId    = 180 LEFT OUTER JOIN StatusCode      scRAG               ON po.RAGStatusCID = scRAG.CID           WHERE sc.SCID         = 18   Such statement yields the result set that follows:  CID OverviewText    RAGStatusText --- ------------    ------------- 153 Cost            Green 154 Requirements    Yellow 155 Schedule        NULL 156 Technical       NULL 157 Testing         NULL   But, I want it to return one single row with 10 values, as shown bellow:   ----------------------------------------------------------------------------------------------  | Cost | Green | Requirements | Yellow | Schedule | NULL | Technical | NULL | Testing | NULL |  ----------------------------------------------------------------------------------------------   Can I pivot on CID? I'm using terminal-ide  which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to create an icon on the home screen that will launch one of these scripts? Equation System with 3 variables "Find all the possible solutions $(x,y,z) \in$  $\Bbb R$ that satisfies the following equation system".  My teacher gave me this problem and i got some clues in how to solve it. I evaluated $1$ and $-1$ and i got these solutions $(1,-1,1)$ and $(-1,-1,-1)$. I think these are the only ones but i can't prove it.  Am i wrong?, are there more solutions?.   Thanks  $$ \left\{  \begin{array}{c} x+y-z=-1 \\  x^2-y^2+z^2=1\\  -x^3+y^3+z^3=-1 \end{array} \right.  $$ I have Sanguinare Vampiris. I don't really want to become a vampire. How can I cure myself?