How can I use std::string for Const Char Parameter
How to convert a std::string to const char* or char*
How to install Chrome browser properly via command line? I am trying to install chrome browser via command line.  I tried this:  $ apt-cache search chrome browser   The results show that the proper term is "chrome-browser," so I tried that:  $ sudo apt-get install chrome-browser   And then "Y" for the Y/n question.  But the installation threw errors.  Does someone see anything wrong with the commands I issued? Maximum and minimum of of $f(x)=|x-1|+|x-2|+|x-3|$ Domains in cell membrane How is movement of proteins and lipids between different domains of cell membrane prevented?  Why is the noncytosolic layer not able to do lateral movements between domains but cytosolic layer is able to do so? 'AND' vs '&&' as operator UK visa type to attend conference and training in London On , the accepted answer doesn't float on top. Apart from that, the display is correct (i.e. the V mark and the green border)  If I sort by "vote", I've got the following answer order:   Jezell Marc Gravell chilltemp (Accepted) Shaun Bowe   By "oldest":   Marc Gravell Jezell chilltemp (Accepted) Shaun Bowe   and by "newest":   Shaun Bowe chilltemp (Accepted) Jezell Marc Gravell     I'm using Firefox V.3.5 : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)  Feel free to ask for more debug information if needed. Updating directly from SP1 to SP3 I am considering applying the Service Pack 3 in a SQL Server 2008 with Service Pack 1; however, I was not able to find if there are any drawbacks in this process, specially regarding to Replication Services and Reporting Services.   Has someone done this kind of update? Was it smooth or did it generate many issues? When should I use # and = in ASP.NET controls? The RSA signature operation is basically the same as encrypting with the private key.  In particular, both operations use the same kind of keys.  Is it safe to use the same RSA keypair both for encryption / decryption and for signing / verification? When should I use rich black? I know that there is no vector space having precisely $6$ elements. Does every set have a group structure? Let $f: M \to N$ be a mono in $\mathsf{Mon}$. I want to prove that the underlying function $U(f): U(M) \to U(N)$ is injective.   How can this be done ? Thanks in advance. facl ignoring the "x" permission but only on files When I use setfacl to manage on what permissions should the children files / directories have, for some reason the files have all the permissions except the execute ("x") one.  someuser@someuser-MS-7816:/opt/lampp/htdocs/project$ getfacl . # file: . # owner: someuser # group: webs # flags: -s- user::rwx group::rwx other::rwx default:user::rwx default:group::rwx default:other::rwx  someuser@someuser-MS-7816:/opt/lampp/htdocs/project$ touch file someuser@someuser-MS-7816:/opt/lampp/htdocs/project$ mkdir dir someuser@someuser-MS-7816:/opt/lampp/htdocs/project$ ls -l total 4 drwxrwsrwx+ 2 someuser webs 4096 paź 31 13:35 dir -rw-rw-rw-  1 someuser webs    0 paź 31 13:35 file   I thought it has something to do with umask but changing it in various ways never gives the expected result unless I'm missing something.  How can this be fixed? How To Get Command Blocks Talking in Chat How does the Battle Booster work? I received the 80% battle point booster. It has 500 minutes on it and says the booster is only consumed when battle points are earned. Does this mean I can play 500 minutes of matches during a week and earning the bonus points? Or does it wear off in 500 minutes after equipping it?  Also it says my team is granted a 16% bonus. Does this stack? Do i get another 16% if I and another player wears it? Since it's a new item with the present chest it would be wise to use it later if the bonus does not stack. Is there a way to make bash more TAB friendly? I use bash on both my Mac and as my cygwin shell. Overall, I'm quite pleased with it.  My one complaint however is that its TAB completion isn't as good as Windows Command Line TAB completion.   For example, if there are two files with the same prefix, then bash just beeps at me when I try to TAB complete. If I keep nailing TAB, then it will eventually show me a list of potential files.  I definately prefer how Windows will cycle through potential files right on the command line.   Is there a way to get bash to operate similar to Windows Command Line in this regard?  If there isn't (I do not want to switch shells), am I missing something about TAB completion in bash? Is there a more efficient way to use it? How to find users by name Options to hide reputation information on Stack Overflow? How do popular free RAW editor/converter compare to each other on Windows? I'm looking for a free RAW editor/converter on Windows. Can you tell me some strong/weak points of them comparing with Capture NX and/or Adobe Photoshop Elements?       - conversion &amp; EXIF  - white balance  - registration not possible anymore   EXIF editing would be a nice bonus.  Related: Showing that $\gamma = -\int_0^{\infty} e^{-t} \log t \,dt$, where $\gamma$ is the Euler-Mascheroni constant. I'm trying to show that  $$\lim_{n \to \infty} \left[\sum_{k=1}^{n} \frac{1}{k} - \log n\right] = -\int_0^{\infty} e^{-t} \log t \,dt.$$  In other words, I'm trying to show that the above definitions of the Euler-Mascheroni constant $\gamma$ are equivalent.  In another post here (which I can't seem to find now) someone noted that  $$\int_0^{\infty} e^{-t} \log t \,dt = \left.\frac{d}{dx} \int_0^{\infty} t^x e^{-t} \,dt \right|_{x=0} = \Gamma&#39;(1) = \psi(1),$$  where $\psi$ is the digamma function.  This may be a good place to start on the right-hand side.  For the left-hand side I was tempted to represent the terms with integrals.  It is not hard to show that  $$\sum_{k=1}^{n} \frac{1}{k} = \int_0^1 \frac{1-x^n}{1-x} \,dx,$$  but I'm not sure this gets us anywhere.  Any help would be greatly appreciated.