Why do I not receive reputation for answering question?
Why aren't people voting for questions?
Connect to a MySQL server over SSH in PHP I have my database on remote Linux machine, and I want to connect using SSH and PHP functions (I am currently using ssh2 library for that). I tried using mysql_connect, but it gives me can't access (although I have granted permission) when I tried using this function:  $connection = ssh2_connect('SERVER IP', 22);  ssh2_auth_password($connection, 'username', 'password');  $tunnel = ssh2_tunnel($connection, 'DESTINATION IP', 3307);  $db = mysqli_connect('127.0.0.1', 'DB_USERNAME', 'DB_PASSWORD',                           'dbname', 3307, $tunnel)     or die ('Fail: '.mysql_error());   I got error "mysqli_connect() expects parameter 6 to be string, resource given". How can I resolve this? In unix/linux, any number of consecutive forwardslashes in a path is generally equivalent to a single forwardslash. eg.  $ cd /home/shum $ pwd /home/shum $ cd /home//shum $ pwd /home/shum $ cd /home///shum $ pwd /home/shum   Yet for some reason two forwardslashes at the beginning of an absolute path is treated specially. eg.  $ cd ////home $ pwd /home $ cd /// $ pwd / $ cd // $ pwd // $ cd home//shum $ pwd //home/shum   Any other number of consecutive forwardslashes anywhere else in a patch gets truncated, but two at the beginning will remain, even if you then navigate around the filesystem relative to it.  Why is this? Is there any difference between /... and //... ? I am not talking about miracles, religious revelation, or artistic expression, but something more mundane. There is a lot of "empirical" evidence that the Riemann hypothesis is true, the scare quotes indicate that the source of the evidence is "mathematical intuition". In psychology there are mental states that no one sees, touches, hears, smells or tastes, qualia with their perceptual fullness that can not be conceptualized or directly communicated, and abilities/skills "know how" with the same problem. In linguistics Kripke's theory of reference relies on "modal intuitions" to decide the truth of counterfactuals. But an empirical counterfactual is an oxymoron, especially when it is embedded into an entire "possible world".  Freudian psychoanalysis and Husserlian phenomenology are attempts to deal with some of them systematically, but they are traditionally confined to the fringe of science at best. The mainstream approach is empirical second hand, but behaviorism in psychology and linguistics, and nominalism in mathematics, were not very productive.   According to the naturalized epistemology there is no a priori "first philosophy" of science, methodology is subject to the "tribunal of experience" and revision, just as the science itself. Should it apply to non-empirical experience? Sense empiricism has served science well for centuries, and was fully embraced by Quine.  takes him to task for it:     "Cognitive science is an empirical science working to unearth the mechanisms through which natural language constitutes itself. That account has had to recognize the indispensability of mental states, of beliefs, if it is ever to become adequate to the problem... There is still too much "first philosophy" in Quine. We must rescue naturalized epistemology from its own founder".    Note the use of "empirical" together with "mental states".  Questions: Does naturalized epistemology dictate that natural science should relax sense empiricism, and approach non-empirical phenomena partly first hand? If so, how can the scientific method be adapted to introspective/intuitive phenomena that are not readily reproducible, manipulable, measurable, and/or publicly accessible? What would play the selective role of empirical testing? Can there be non-empirical (more likely, not entirely empirical) natural science? Best way to do multi-row insert in Oracle? I'm looking for a good way to perform multi-row inserts into an Oracle 9 database.  The following works in MySQL but doesn't seem to be supported in Oracle.  INSERT INTO TMP_DIM_EXCH_RT  (EXCH_WH_KEY,   EXCH_NAT_KEY,   EXCH_DATE, EXCH_RATE,   FROM_CURCY_CD,   TO_CURCY_CD,   EXCH_EFF_DATE,   EXCH_EFF_END_DATE,   EXCH_LAST_UPDATED_DATE)  VALUES     (1, 1, '28-AUG-2008', 109.49, 'USD', 'JPY', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (2, 1, '28-AUG-2008', .54, 'USD', 'GBP', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (3, 1, '28-AUG-2008', 1.05, 'USD', 'CAD', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (4, 1, '28-AUG-2008', .68, 'USD', 'EUR', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (5, 1, '28-AUG-2008', 1.16, 'USD', 'AUD', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'),     (6, 1, '28-AUG-2008', 7.81, 'USD', 'HKD', '28-AUG-2008', '28-AUG-2008', '28-AUG-2008'); $f(z)$ and $\overline{f(\overline{z})}$ simultaneously holomorphic Prove that the functions $f(z)$ and $\overline{f(\overline{z})}$ are simultaneously holomorphic.   I take this to mean that $f(z)$ is holomorphic if and only if $\overline{f(\overline{z})}$ is holomorphic.  Let $g(z)=\overline{f(\overline{z})}$. Note that $\overline{g(\overline{z})}=f(z)$. So it suffices to prove that if $f(z)$ is holomorphic, then $g(z)$ is holomorphic.  Write $f(z)=u(z)+iv(z)$. Since $f(z)$ is holomorphic, the real and imaginary parts satisfy the Cauchy-Riemann equations:  $$\frac{\partial{u(z)}}{\partial{x}} = \frac{\partial{v(z)}}{\partial{y}}, \frac{\partial{u(z)}}{\partial{y}} = -\frac{\partial{v(z)}}{\partial{x}}.$$  We have $g(z) = u(\overline{z})+i(-v(\overline{z}))$. To prove that $g(z)$ is holomorphic, we must prove that its real and imaginary parts satisfy the Cauchy-Riemann equations:  $$\frac{\partial{u(\overline{z})}}{\partial{x}} = \frac{\partial{(-v(\overline{z}))}}{\partial{y}}, \frac{\partial{u(\overline{z})}}{\partial{y}} = -\frac{\partial{(-v(\overline{z}))}}{\partial{x}}.$$  How can we obtain this from the above relations? Automatically login and lock For all types of derivative works, namely:   Movies Novels Comic books Other written works (including RPG materials) Cartoons Video games Derivative movies (such as the infamous Ewok movies and even more infamous )   According to what rules does something become "canon" and who is responsible for the evaluation of a published work? In swimming, is there a competitive advantage to being in one lane or another? Upon observing swimming competitions in the Olympics, it is not clear to me whether one of the eight lanes is more advantageous versus another. I've seen vague claims but nothing backed up with science.  In competitive swimming, is there an advantage to being in one lane or another? Furthermore, does the stroke (ie: breast, fly, freestyle, etc.) affect this effect? How to prevent iMessage syncing without access to device I foolishly logged into someone's iPad with my Apple ID. This person is now receiving my full communications on iMessage. I know I can remove my account from that iPad but I don't have access to it. How can I stop the device from getting my iMessages without physical access? Microsoft has steadily improved its operating cash flows in the past three years. Microsoft has steadily improved its operating cash flows in the last three years. Microsoft has steadily improved its operating cash flows for the past three years. Microsoft has steadily improved its operating cash flows for the last three years. Microsoft has steadily improved its operating cash flows for the past three years. (&quot;for&quot; omitted) Microsoft has steadily improved its operating cash flows for the last three years. (&quot;for&quot; omitted) Microsoft has steadily improved its operating cash flows during the past three years. Microsoft has steadily improved its operating cash flows during the last three years. Microsoft has steadily improved its operating cash flows over the past three years. Microsoft has steadily improved its operating cash flows over the last three years.  Which of them are idiomatic and preferred? Are they interchangeable? How to add video to iphone simulator Alignment issue for the last modified information in the "Top Questions" page In the  (homepage), the asked/modified X mins ago text was left-aligned next to the tags. Previously the text was right-aligned. Seems some alignment issue introduced on that page recently. Screenshot for reference:      Configuration Version     Operating System Windows 10 Pro   Mozilla Firefox 89.0 (64-bit)   Google Chrome 91.0.4472.101 (Official Build) (64-bit)     Update: I see the same alignment issue in all other Stack Exchange site's &quot;Top Questions&quot; page too. Journal of Finance Template German '*.bst' Word for "scary thing that's about to occur"? I have the feeling I'm forgetting a very simple word. But anyway, is there a word for that? Example:     The [...] that haven't occurred yet are the most scary ones. Is the matrix diagonalizable for all values of t? Is there a way to get reverse numbering on the enumerate environment? To build a list of publications, I wish to show the most recent on top of the list, while keeping the numbering similar. This can be achieved manually by doing something like:  \begin{enumerate} \item[42] pub num 42 \item[41] pub num 41 \item[...] \item[1] pub num 1 \end{enumerate}   but is there a more principled approach? Find the exact value of     $$ \int_{0}^{a} \frac{1}{\sqrt {a^2-x^2}} \mathrm {dx} $$   Where, $a$ is a positive constant  Hi, guys can give me tips to solve this ? Should we use like u substitution? How to cut holes in an object using another object? I'm trying to model a M16 but I have a problem with cutting the holes on top of the handguard of the weapon.     As you can see in the picture above, I have tried to cut holes into the handguard (The marked mesh in edit mode) with the object above it (The multiple cylinder one). But I simply can't. I have tried the Boolean modifier but the handguard just disappears and doesn't make any holes. Same with the Knife Project thing. Nothing works, it won't make a hole in it. I also installed the BoolTool 0.2 but that didn't work either...The multiple cylinder object goes invisible and doesn't make any cuts.    In the picture above you can see how I want the cuts to be made. I want the holes of the multiple cylinder object to be there on the handguard when I take it away. Nothing works. The 3 methods I tried with worked on other parts of this model but not on the handguard. It should be the handguards mesh's fault but I can do nothing about it. Is there any solution? Let $f$ be a continuous and open map from $\mathbb R $ to $\mathbb R$.Prove that $f$ is monotonic. Let $f$ be  a continuous and open map from $\mathbb R $ to $\mathbb R$.Prove that $f$ is monotonic.  Suppose that $f$ is not monotonic.Then $\exists a,b;a&gt;b$ such that $f(a)&lt;f(b)$ and $c,d;c&lt;d$ such that $f(c)&gt;f(d)$.Since $f$ is continuous then there exists no break in the graph of $f$. But how should I use the fact that $f$ is open.Any help on how should I do the proof? How do I set the default program? How do I set the default program that I use?  I have tried to open System Info → Default Program → change my program, but it won't work,  Any idea? Or should I use Terminal?   I want to replace the default movie player with VLC media player, because the current movie player is useless to me.