राम (hindi language)  I am working on a table where many rows contains value like this &amp;#2352;&amp;#2366;&amp;#2350; it shows in browser like राम  and many rows already contains राम  but I want to replace all encoded value with decode values for this i used find replace query also put data in form and updated but every time db stores encoded  value  Structure of table  hindi   varchar(256)    utf8_unicode_ci   what i did  &lt;?php echo $queryfetch="select hindi from users where id='2'"; $resultfetch=mysqli_query($c,$queryfetch); while($row  =   mysqli_fetch_array($resultfetch)) { echo $queryupdate="update users set hindi='".html_entity_decode($row['hindi'])."' where id='2'"; $resultupdate=mysqli_query($c,$queryupdate); } ?&gt; select hindi from users where id='2'  update users set hindi='राम' where id='2'  ** sql before =&amp;#2352;&amp;#2366;&amp;#2350;  **sql after = à¤°à¤¾à¤®**
I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.
How do I mount shared folders in Ubuntu using VMware tools? Prove that a set of connectives is inadequate I'm still learning, but I'm trying to follow a tutorial to apply texture to a model. I only want to apply the texture to one object in the scene, so I selected it, unwrapped it, and painted over it. Now I selected it in the Edit Mode (I can't select it in the Object mode because all is locked together) and went into Node Editor, but the nodes are greyed out.  Why? The Megahertz Myth became a promotional tactic due to differences between the PC's INTEL 8086 processor and Apple's Rockwell 6502 processor.  The 8086 ran at 4.77MHz while the 6502 ran at 1MHz.  However, instructions on the 6502 needed fewer cycles; so many fewer, in fact, that it ran faster than the 8086.  Why do some instructions need fewer cycles?  And why can't the instructions of the 6502, needing fewer cycles, be combined with a fast cycling processor of the 8086?  Wikipedia's article for instructions per cycle (IPC) says     Factors governing IPC   A given level of instructions per second can be achieved with a high IPC and a low clock speed...or from a low IPC and high clock speed.   Why can't you have both high instructions per cycle and high clock speed?  Maybe this has to do with what a clock cycle is?  Wikipedia mentions synchronization of circuits?  Not sure what that means.  Or maybe this has to do with how a pipeline works?  I'm not sure why instructions in a short pipeline are different from instructions in a long pipeline.  Any insight would be great!  Just trying to understand the architecture behind the myth.  Thanks!  References: I'm colorizing the header of a table formatted with column -ts $'\t'  Works well without color codes, but when I add color codes to the first line column doesn't properly align the output.  Without colored output it works as expected: printf "1\t2\t3\nasdasdasdasdasdasdasd\tqwe\tqweqwe\n" | column -ts $'\t'  But when adding color on the first line column doesn't align the text of the colored row: printf "\e[7m1\t2\t3\e[0m\nasdasdasdasdasdasdasd\tqwe\tqweqwe\n" | column -ts $'\t'  Observed this behaviour both on Ubuntu Linux and Mac OS X. I'm trying to solve hard combinatorics that involve complicated factorials with large values.  In a simple case such as $8Pr = 336$, find the value of $r$, it is easy to say it equals to this: $$\frac{8!}{(8-r)!} = 336.$$  Then $(8-r)! = 336$ and by inspection, clearly $8-r = 5$ and $r = 3$.  Now this is all and good and I know an inverse function to a factorial doesn't exist as there is for functions like sin, cos and tan etc. but how would you possibly solve an equation that involves very large values compared to the above problem without the tedious guess and checking for right values.  Edit: For e.g. if you wanted to calculate a problem like this (it's simple I know but a good starting out problem) Let's say 10 colored marbles are placed in a row, what is the minimum number of colors needed to guarantee at least $10000$ different patterns? WITHOUT GUESS AND CHECKING  Any method or explanation is appreciated! How do I restrict scaling to a specific axis? Im new to Blender but have some experience with 3dsmax. In blender, when i select some polys and try to scale them, i have no control on the amount and especially relative axis on which the scale would happen, where as with 3ds max i could scale restricted to x, y, z or any combination of using the handy widget. Is there a way to replicate this, or to get any control over the scale ?  thanks, Why can't I connect to Ubuntu One? I have purchase new laptop from Dell with ubuntu 12.04 preinstalled. while connecting to Ubuntu One following occurs and I am not able to sync with Ubuntu One.   WebClientErr u'Error downloading https://one.ubuntu.com/api/account/ - server replied:Not       Found' u'&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;\n&lt;html&gt; &lt;head&gt;\n&lt;title&gt;404 Not Found&lt;/title&gt;\n&lt;/head&gt;&lt;body&gt;\n&lt;h1&gt; Not Found&lt;/h1&gt;\n&lt;p&gt;The requested URL /api/account/ was not found on this server. &lt;/p&gt;\n&lt;hr&gt;\n&lt;address&gt;Apache/2.2.22 (Ubuntu) Server at one.ubuntu.com Port 443 &lt;/address&gt;\n&lt;/body&gt;&lt;/html&gt;\n' If all motion is relative, how does light have a finite speed? Are S.P.E.C.I.A.L. skills capped at 10? We know that the maximum level a dweller can train to on any SPECIAL skill is 10, however this does not consider bonuses given from their outfit.    Is there any additional benefit for going over 10? For example, a dweller with an Intelligence skill of 10 wearing a lab coat that boosts Intelligence by 3?   If it is a hard cap, would it be more useful to use outfits that raise a secondary characteristic instead? "POSSIBLE BREAK-IN ATTEMPT!" in /var/log/secure — what does this mean? I've got a CentOS 5.x box running on a VPS platform. My VPS host misinterpreted a support inquiry I had about connectivity and effectively flushed some iptables rules.  This resulted in ssh listening on the standard port and acknowledging port connectivity tests. Annoying.   The good news is that I require SSH Authorized keys.  As far as I can tell, I don't think there was any successful breach.  I'm still very concerned about what I'm seeing in /var/log/secure though:     Apr 10 06:39:27 echo sshd[22297]: reverse mapping checking getaddrinfo for 222-237-78-139.tongkni.co.kr failed - POSSIBLE BREAK-IN ATTEMPT! Apr 10 13:39:27 echo sshd[22298]: Received disconnect from 222.237.78.139: 11: Bye Bye Apr 10 06:39:31 echo sshd[22324]: Invalid user edu1 from 222.237.78.139 Apr 10 06:39:31 echo sshd[22324]: reverse mapping checking getaddrinfo for 222-237-78-139.tongkni.co.kr failed - POSSIBLE BREAK-IN ATTEMPT! Apr 10 13:39:31 echo sshd[22330]: input_userauth_request: invalid user edu1 Apr 10 13:39:31 echo sshd[22330]: Received disconnect from 222.237.78.139: 11: Bye Bye Apr 10 06:39:35 echo sshd[22336]: Invalid user test1 from 222.237.78.139 Apr 10 06:39:35 echo sshd[22336]: reverse mapping checking getaddrinfo for 222-237-78-139.tongkni.co.kr failed - POSSIBLE BREAK-IN ATTEMPT! Apr 10 13:39:35 echo sshd[22338]: input_userauth_request: invalid user test1 Apr 10 13:39:35 echo sshd[22338]: Received disconnect from 222.237.78.139: 11: Bye Bye Apr 10 06:39:39 echo sshd[22377]: Invalid user test from 222.237.78.139 Apr 10 06:39:39 echo sshd[22377]: reverse mapping checking getaddrinfo for 222-237-78-139.tongkni.co.kr failed - POSSIBLE BREAK-IN ATTEMPT! Apr 10 13:39:39 echo sshd[22378]: input_userauth_request: invalid user test Apr 10 13:39:39 echo sshd[22378]: Received disconnect from 222.237.78.139: 11: Bye Bye     What exactly does "POSSIBLE BREAK-IN ATTEMPT" mean?  That it was successful? Or that it didn't like the IP the request was coming from? Is there an easy way to convert a number to a word in PHP? Past tense and the phrase "who knows what" Show that G is a group, if G is finite, the operation is associative, and cancellation law holds How does $ \sum_{p<x} p^{-s} $ grow asymptotically for $ \text{Re}(s) < 1 $? When changing fields, should I focus more on describing past research or connecting it to the new area in my statement of purpose? I want to change my field from molecular biophysics to theoretical ecology. While they are basically required some same basic background (physics, math, programming), the rest is quite irrelevant. In my current draft of this part, about a half is about this the problem and the result of the work, another half is for my contribution and what I've learnt. Having said that, should I focus less on describing the work and leave space for the thing that will be useful for the next research?  Below is copy from .     What have you already done? What problems have you solved, or at least worked on? What independent projects have you been part of? What were your key contributions? What did you learn? What did you teach the world? How do your results compare to what was already known? What original ideas are you most proud of? Be specific, technical, credible, and confident (but not arrogant). Refer the reader to your web page for more details. Have a web page with more details: preprints, project reports, source code, videos, etc. This is purely a curiosity, but I'm fascinated by mid-word pluralization, even if the word in question is a compound word.  For example, passersby or standersby.  No others have occurred to me. Can you provide other examples, or a link to a resource that enumerates them?  I'm particularly interested in compounds that do not include spaces or hyphens. Setup restarts the laptop and then restarts the installation all over and over again? From , I have tried the using \hspace{0pt} and   \makeatletter \renewcommand{\dddot}[1]{%   {\mathop{\kern\z@#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@    \hbox{\normalfont ...}\vss}}}} \renewcommand{\ddddot}[1]{%   {\mathop{\kern\z@#1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@    \hbox{\normalfont....}\vss}}}} \makeatother   after loading mathtools but the problem still persists.    \documentclass{article} \usepackage{mathtools} \begin{document} \[ \dot{\mathbf{r}}\times\ddot{\mathbf{r}}\times\dddot{\mathbf{r}} \] \end{document}   In the case the font scheme I am using has any affect as well, the fonts are:  \usepackage[utf8]{inputenx} \renewcommand{\rmdefault}{ppl}                  \linespread{1.05}                   \usepackage[scaled]{helvet} \usepackage{courier}               \usepackage{eulervm} \normalfont       \usepackage[T1]{fontenc}            \usepackage{textcomp} The relationship of ${\frak m+m=m}$ to AC