Input variables with spaces?
Why does my shell script choke on whitespace or other special characters?
What is the difference between == and equals() in Java? I have been wondering what a gold piece is worth, due to the fact there are many things that cost the same, but in reality, are probably worth radically different prices, such as a Goat and a Whip, which both cost 1 gp.  What is a gold piece really supposed to be worth? Like, how would things be priced if they were in familiar modern monetary units instead of "gp"? That would give me something to base my adjustments to abnormal prices on, such as items not listed in the PHB. Server login attempts NOT blocked after configuring fail2ban So, I installed (and configured) fail2ban on three Ubuntu VPS servers. I configured (imo) a maximum of 3 failed login attempts (via Putty as root) within 2 minutes. Then I restarted the fail2ban service (according to ).    But when I look at my auth.log files in /var/log/ I still see 4, 5 or more failed attempts from certain IP's. So obviously I did something wrong as the IP is not blocked after 3 failed attempts.   It might have to do something with iptables, but that's where it gets a bit "foggy" for me..   Not sure how to setup a max-three-failed-login-attempts rule..  Additional: I see that the login attempts mostly have different ports for every attempt. Does that influence the count to max-three?  Because I see a port being "poked" twice and then no more attempts. Then the IP tries a different port (again 2 times). (all bots of course) I have trouble comparing 2 double in Excel VBA  suppose that I have the following code  Dim a as double Dim b as double a = 0.15 b = 0.01   After a few manipulations on b, b is now equal to 0.6  however the imprecision related to the double data type gives me headache because  if a = b then  //this will never trigger end if   Do you know how I can remove the trailing imprecision on the double type? After uninstalling a program with apt and reinstalling it in another location (ex. pypy with snap), running the program from command line reports bash: /usr/bin/pypy: No such file or directory, but which pypy correctly gives /snap/bin/pypy. How do I get the shell to recognize the new installation location? Export all symbols when creating a DLL With VS2005, I want to create a DLL and automatically export all symbols without adding __declspec(dllexport) everywhere and without hand-creating .def files. Is threre a way to do this? QtCreator and Command Line Arguments Why is 4 not an instance of Number? How do I recover the default version of some configuration file? By accident, I messed up a configuration file. How do I recover the default version without reinstalling or affecting other things? Why is there an "electric" potential drop across the resistor? An electric potential difference is created when two charges are separated. In a capacitor, there is a clear accumulation of opposite charges on the two separated plates, therefore work has to be done in moving an unit charge from one plate to another, against the electric field.   But, , a potential difference is created in a resistor due to the heat produced by the collision and increased lattice vibrations. So there is an energy loss across the resistor, yes, but how does this energy loss due to heat create an electric potential difference. In other words, do electrons accumulate on one or both sides of the resistor? If not, why should we do electric work in moving from one end of the resistor to another. If the difference in energy is not due to electric work, then that's not electric potential, is it? Inequality ${n \choose k} \leq \left(\frac{en}{ k}\right)^k$ This is from page 3 of  ().  Copying the relevant segment:     Stirling’s approximation tells us $\sqrt{2\pi n} (n/e)^n \leq n! \leq e^{1/12n} \sqrt{2\pi n} (n/e)^n$. In particular we can use this to say that   $$ {n \choose k} \leq \left(\frac{en}{ k}\right)^k$$   I tried the tactic of combining bounds from $n!$, $k!$ and $(n-k)!$ and it didn't work. How does this bound follow from stirling's approximation? How do I programmatically log in a user with a POST request? Do anyone have a working REST Login on Drupal 8? This is what I tried. POST /user/login HTTP/1.1 Host: 8.d8.local Content-Type: application/x-www-form-urlencoded Accept-Encoding: http://nikhilmohan.in Cache-Control: no-cache  name=test&amp;pass=password&amp;form_id=user_login_form  It returns me HTML instead of JSON. How can we recover the Newtonian gravitational potential from the metric of general relativity? The Newtonian description of gravity can be formulated in terms of a potential function $\phi$ whose partial derivatives give the acceleration:  $$\frac{d^2\vec{x}}{dt^2}=\vec{g}=-\vec{\nabla}\phi(x)=\left(\frac{\partial\phi}{\partial x}\hat{x}+\frac{\partial\phi}{\partial y}\hat{y}+\frac{\partial\phi}{\partial z}\hat{z}\right)$$  However, in general relativity, we describe gravity by means of the metric. This description is radically different from the Newtonian one, and I don't see how we can recover the latter from the former. Could someone explain how we can obtain the Newtonian potential from general relativity, starting from the metric $g_{\mu\nu}$? Why do I get different outputs in case of sh and bash? Example of mailmerge package with an Excel spreadsheet I am looking for an example for using the  package to write a cover letter, with names and addresses on a spreadsheet. The package comes with an example, but you have to manually enter all the data. zsh I/O redirection: redirecting and then piping; what is going on? Can somebody explain what is going on in this command:  echo foo &gt;&amp;2 | grep foo   Zsh (5.0.2) prints foo twice. One seemingly to stdout and one to stderr, since running these commands:  { echo foo &gt;&amp;2 | grep foo } &gt;/dev/null   and:  { echo foo &gt;&amp;2 | grep foo } 2&gt;/dev/null   both just print foo once. In Windows XP we can search for files that contain a defined keyword (inside all files types).  Windows 7 can look inside files for a keyword, but only for text files. (*.doc, *.txt, *.inf, ...), not (*.conf, *.dat, *.*, ...).   don't contain any filter I can use for this.  How is this possible? top command in cygwin? I am starting to use Cygwin(64) on my Windows 8 laptop, however, the top command is not recognized. I have read online that I need to get the procps package, but it is not available on the 'Cygwin Setup' package selections. How should I go about installing the procps package so that I can use top?  ps. for whatever reason ps and kill both work so I would think top would be included in whatever package allowed those guys to work, but there is no top command. EXR Transparency Border with bloom and glare was solved by saving to EXR, however when loading that EXR into the VSE over a background a dark border appears around the transparent text that cuts through the glare and bloom. I'm using Blender 2.92.0. EEVEE with bloom Render layers -&gt; Glare -&gt; Composite (with &quot;UseAlpha&quot; checked) What's the purpose of two capacitors in parallel? What's the purpose of the two capacitors in parallel on each side of the regulator in      I've seen similar setups in other similar circuits and can guess that it's related to one being polarized an one not, but I don't really understand what's going on there.