Firebird php question marks � I just don't know what the heck is that... So I have a Debian with apache2 on it. Got php 5.6.14 and firebird 2.5 superserver. I store my fdb file in /var/www/db , all php files are in /var/www/html. Localhost works, executes php and connects to db with no problem. However all my cyrillic strings in db come up as diamond question marks �  My html charset is utf-8; Default db charset is 'NONE'; When I connect to db using  ibase_connect, I give as a parameter charset 'NONE' (Tried UTF-8, ISO8859_5, WIN1251 and many other)  Just tried Flamerobin. It shows that strings as empty fields (not 'none', but empty)  Can you give any solutions, what it can be?
UTF-8 all the way through 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.
I'm trying to typeset SuperCollider code using the listings package.  Any "freestanding" identifiers that begin with a capital letter are class names, and should be highlighted; by "freestanding", I mean outside of strings or comments. I would be tickled pink if listings could let you define identifiers in terms of regexp, e.g. [A-Z][A-Za-z0-9_]* but the manual doesn't suggests that as a possibility.  SuperCollider has some 2300 classes... I really don't relish listing all of them literally in my preamble. I guess I could extract them by hand for each individual listing, but I'd rather not have to.  Is there a way to do this without a really massive morekeywords expression? (Perhaps using another package?)  Sample SuperCollider code:  p.clear;  ~grains.addSpec(\tfreq, [1, 40, \exp]); ~grains.addSpec(\overlap, [0.1, 10, \exp]); ~grains.addSpec(\pos, [0, b.duration]);  // 3.43 is nice! ~grains.addSpec(\rate, [0.5, 2, \exp]); ~grains = { |tfreq = 25, overlap = 6, pan = 0, amp = 0.2, pos = 3.43,    rate = 1|    var trig = Impulse.ar(tfreq);    TGrains.ar(2, trig, b, rate, pos, overlap / tfreq, pan, amp) }; ~grains.play;   Impulse and TGrains should be highlighted in blue. I have dozens of other listings using different capitalized keywords. Finding real roots of $ P(x)=x^8 - x^7 +x^2 -x +15$ Let $ P(x)=x^8 - x^7 +x^2 -x +15 $, Descartes' Rule of Signs tells us that the polynomial has 4 positive real roots , but if we group the terms as $$ P(x)= x(x-1)(x^6+1) +15 $$ we find that $ P(x) $ does not have any positive roots.  Where did I err ? Symbolic links error while creating Ubuntu UEFI bootable USB I have tried to create UEFI bootable USB drive within Ubuntu 14.10 (Startup disk creator didn't help nor I am interested in using it.). I have formated USB with FAT32 and GPT. So the only thing left to do would be just to copy all files from ISO to USB. That method worked when it comes to Linux Mint 17.1 and Clonezilla live CD, but when I tried to create bootable USB for Ubuntu 14.04 or Kubuntu 15.04 beta 1 there was an error copying files. Actually, on several occasions (4 or 5) pop-up window appeared.   After ignoring this errors, both Ubuntu and Kubuntu USB boot-up just fine, with no apparent problems in Live mode.   Can someone please elaborate what this symbolic links presents? Will this cause some problem when OS is installed? Why are second order linear PDEs classified as either elliptic, hyperbolic or parabolic? Is there a geometric interpretation of second order linear partial differential equations which explains why they are classified as either elliptic, hyperbolic or parabolic, or is this just a naming convention? That is, do they have any relation with actual ellipses, hyperbolas and parabolas? Convert stored procedure result to model object I am writing a script, which I would like to spice up a bit.  What I need, is a loop, which takes one letter at a time, including space, and then write it on the screen, like an old typewriter would do.  I would write some kind of pause/sleep between the typing, so it would look retro like. Why does a window become a mirror at night? In day, when you look in the room through the window out, you can clearly see what happens outside. At night when it's dark outside but there's light inside you can look in the window but it becomes a mirror.  Why? Difference between logit and probit models This is somewhat of a beginner's question, but how does one interpret an exp(B) result of 6.012 in a multinomial logistic regression model?  1) is it 6.012-1.0 = 5.012 = 5012% increase in risk?  or  2) 6.012/(1+6.012) = 0.857 = 85.7% increase in risk?  In case both alternatives are incorrect, can someone please mention the correct way?  Ive searched many resources on the internet and I get to these two alternatives, and I am not entirely sure which one is correct. Even if many interesting similarities between the classical and the quantum mechanical framework have been worked out, e.g. in the subject of deformation quantization, in general, there are some mathematical problems. And in the conventional formulation, you don't want to make things like $\hbar\rightarrow 0$ for the expression $P=-\text i\hbar\tfrac{\partial}{\partial x}$.   In special relativity there are many formulas where one optains the non-relativistic formula by taking the naive limit $c\rightarrow \infty$, e.g.  $$\vec p=\frac{m\vec v}{\sqrt{1-|v|/c}}\ \rightarrow\ \frac{m\vec v}{\sqrt{1-0}}=m\vec v.$$  I wonder if it is know that you can always do that. Is there a formulation of special relativity (maybe it's the standard one already), where the starting assumptions/axioms/representations of objects of discourse involve the constant $c$, and as you take them with you to do all the standard derivations, you always end up with results which reduce to the Newtonian mechanics if you take that limit? I am fairly new to the system administration world. I've been working on an application recently and when I check my application server logs, I constantly get various IP addresses trying to ssh into my server by brute force. Here is an example of my server log:   Feb 14 04:07:20 foodwiz3 sshd[1264]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key Feb 14 04:07:21 foodwiz3 sshd[1264]: reverse mapping checking getaddrinfo for coenamor.columbiansabbatical.com [23.249.167.223] failed - POSSIBLE BREAK-IN ATTEMPT! Feb 14 04:07:21 foodwiz3 sshd[1264]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=23.249.167.223  user=root Feb 14 04:07:23 foodwiz3 sshd[1264]: Failed password for root from 23.249.167.223 port 32997 ssh2 Feb 14 04:07:23 foodwiz3 sshd[1264]: Received disconnect from 23.249.167.223: 11: Bye Bye [preauth] Feb 14 04:13:04 foodwiz3 sshd[1289]: error: Could not load host key: /etc/ssh/ssh_host_ed25519_key Feb 14 04:13:05 foodwiz3 sshd[1289]: reverse mapping checking getaddrinfo for coenamor.columbiansabbatical.com [23.249.167.223] failed - POSSIBLE BREAK-IN ATTEMPT! Feb 14 04:13:05 foodwiz3 sshd[1289]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=23.249.167.223  user=root Feb 14 04:13:07 foodwiz3 sshd[1289]: Failed password for root from 23.249.167.223 port 41562 ssh2   Is this something that is fairly normal, or should I be worried/doing something about it? Best VNC / remote desktop software for assistance Poll on best VNC / remote desktop software for assisting others on Windows/Mac machines from Ubuntu?    I've heard good things about TeamViewer and Fog Creek Copilot, but I'm wondering if the included GNOME Vinaigre VNC client is good enough for this.  To specify, I'm looking for best option based on:   SIMPLEST ease-of-use for client to download/use on their end. See #1. Works cross-platform I am able to control client's mouse and/or keyboard from remote machine. I am trying to find the formula for the number $f(n,k)$ which is defined as the number of $k$-subsets of $[n]$ in which no two elements are consecutive numbers in $[n]$.  From the simple thinking I had made up following recursion:  $$f(n,k) = f(n-1,k) + f(n-2, k-1) $$  This is true since I can construct without last element of $[n]$ then make up $k$-subsets, then otherwise must contain the last element of $[n]$ then construct remaining $k-1$ elements among $[n-2]$ since with the last one, I can't use $n-1$.  However, I had never learned any techniques regarding changing those recursion into a well-summarized formula in terms of $n$ and $k$.  Any guidance would be appreciate. What exactly does the *frequency* of a photon mean? Electromagnetic Tensor in Cylindrical Coordinates I understand that the  is given by  $$F^{\mu\nu}\mapsto\begin{pmatrix}0 &amp; -E_{x} &amp; -E_{y} &amp; -E_{z}\\ E_{x} &amp; 0 &amp; -B_{z} &amp; B_{y}\\ E_{y} &amp; B_{z} &amp; 0 &amp; -B_{x}\\ E_{z} &amp; -B_{y} &amp; B_{x} &amp; 0 \end{pmatrix}$$  where $\mu$, $\nu$ can take the values {0,1,2,3} or {$t,x,y,z$}.  So, for example  $$F^{01}=F^{tx}=-E_x$$  My question is, what would the following expression be?  $$F^{t\rho}=?$$ or $$F^{z\rho}=?$$  where $\rho=\sqrt{x^{2}+y^{2}}$ is the radial coordinate in ?  And more generally, how can we construct the Electromagnetic Tensor in cylindrical coordinates? Where $\mu$, $\nu$ now take the values {$t,\rho,\varphi,z$}. For each positive even integer $n$, set   $$P_n = \displaystyle {{n} \choose {\frac{n}{2}}}\frac{1}{2^n}.$$  Show that $\displaystyle \lim_{n \to \infty} P_n$ exists and determine its value.   Here's what I have so far: each $P_n$ can be thought of as the probability of tossing a fair coin $n$ times, and obtaining exactly $\frac{n}{2}$ heads. My expectation is that $P_n \to 1$, since in any large trial, one would expect to record just about as many heads as tails. But I'm not sure how to mathematically justify this hunch.  Hints or solutions are greatly appreciated. Make the enter key send message on iPad Give permission to debian-transmission to write into a www-data directory Table with 100 % width and vertical / horizontal alignment I want to draw the following table in LaTeX. In the first column the text should be left aligned. The text in all other cells should be centered. The first problem occurs with D in the first row. If I write a \centering in front of D, I get a LaTeX error. The second problem is, that I want to vertically align the text in all cells but I don't know how. I have found a solution but it doesn't work if the width of the first column is specified.  \documentclass{article} \usepackage{blindtext} \usepackage{tabularx}  \begin{document}   \begin{tabularx}{\textwidth}{|p{4cm}|X|X|X|X|}     \hline                &amp; \centering A &amp; \centering B &amp; \centering C &amp; D\\     \hline     \blindtext &amp; 123 &amp; 123 &amp; 123 &amp; 123\\     \hline   \end{tabularx} \end{document} Origin/reason for the expression "on the bus" instead of "in the bus"