float value showing a fixed value
Confusion with floating point numbers
I have a number of tiff files named:    sw.001.tif sw.002.tif ...   and I want to remove the .tif at the end of each of the files.  How can I use the rename command to do this? Characterizing non-constant entire functions with modulus $1$ on the unit circle Travelling to India via Germany with 2 stops, do i need transit visa? I have Indian passport and USA H1 valid visa, will be travelling US and my itinerary is Mumbai – Munich – Frankfurt – San Francisco. This route has two stops in Germany, Munich – Frankfurt is German domestic flight. I am not sure if I would need a Schengen or Transit Visa. I was going through few German and Indian consulate visa website but I am not able to get the correct info, specially below two statements are confusing. Could you please help me with this?    In these five airports in Germany you can stay at the International Transit Area without a visa: 1.  Cologne/Bonn 2.  Düsseldorf 3.  Frankfurt/Main 4.  Hamburg  5.  Munich  Airport transit privilege does not apply in the following cases and you will need to get a visitor visa if: You are transiting through two or more airports in the Schengen Countries Why is $\frac{d^n}{dx^n}(y(x))$ the notation for the $n$th derivative of $y(x)$, instead of $\frac{d^n}{d^nx}(y(x))$? I've always wondered why the numerator is $d^n$ while the denominator is $dx^n$ instead of $d^nx$ like the numerator.  I must be missing something very obvious or fundamental. Is this notation derived from the chain rule in some way? How does this JavaScript/jQuery syntax work: (function( window, undefined ) { })(window)? Can an electron be in two places at the same time? So I've been reading a bit and watching some videos about the double slit experiment, and therefore the wave particle duality; I've also read this "implies" that a particle can be in two places at the same time. Can you clarify this, and how could that be possible? Lewis Carroll's Pillow Problem via Bayes' Theorem In Pillow Problems and a Tangled Tale Lewis Carroll presents the following problem:     A bag contains a counter, known to be either white or black. A white counter is put in, the bag is shaken, and a counter is drawn out, which proves to be white. What is now the chance of drawing a white counter?   One can easily reason that in the end, the bag must be in one of three states:   Black remains, new white taken New white remains, original white taken Original white remains, new white taken   In two of those states, a white counter remains to be drawn. Therefore, the chance is 2/3.  How can one arrive to this answer using Bayes' theorem? Hom is a left-exact functor UI annoyances in the suggested edit review on Stack Overflow How to enable iptables (instead of firewalld) services on RHEL 7 and Fedora 18? The newest fedora has firewalld as new firewall aplication. I liked old iptables services. I want them back but have no idea how to do that. I have tried :  systemctl disable firewalld.service systemctl stop firewalld.service systemctl enable iptables.service systemctl enable ip6tables.service systemctl start iptables.service systemctl start ip6tables.service   But it does not work! Didn't find any help on wiki or google.  Disabling firewalld work ok, but when I'm trying to enable iptables.service I get:  systemctl enable iptables.service Failed to issue method call: No such file or directory A Hilbert space is, by definition, a complete inner product space. If $(V,|.|)$ is finite dimensional inner product space of dimension $n$ then it is (topologically) isomorphic to $\mathbb{R}^n$ which is of course complete. My instinct here is to say "and therefore, $V$ is also a Hilbert space". I'm not sure about this step however since completeness depends on the norm and the norm depends on the selected inner product (assuming the induced norm $||x|| = (x | x)^{1/2}$ is used). So, must we place some condition on the inner product or is the topological isomorphism between $\mathbb{R}^n$ enough to guarantee that V is Hilbert? How do you breed animals? How do I show that $\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a \ge 4$ for $a^2 + b^2 + c^2 + d^2 = 4$? Let $a, b, c, d$ be positive real numbers such that $a^2 + b^2 + c^2 + d^2 = 4$, show that $$\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a \ge 4.$$  My try:  $$\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a \ge a + b + c + d,$$  yet $$a + b + c + d \le \sqrt{4(a^2 + b^2 + c^2 + d^2)} = 4.$$  Thus, direct application of Cauchy-Schwarz inequality is too weak. I tried other methods but with no significant progress:  $$(\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a)^2 \ge \frac {(a^{4/3} + b^{4/3} + c^{4/3})^3}{a^2 + b^2 + c^2 + d^2} = \frac {(a^{4/3} + b^{4/3} + c^{4/3})^3}4.$$  I also observed that  $$(\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a) + (\frac {a^2}c + \frac {b^2}d + \frac {c^2}a + \frac {d^2}b) + (\frac {a^2}d + \frac {b^2}a + \frac {c^2}b + \frac {d^2}c) + (\frac {a^2}a + \frac {b^2}b + \frac {c^2}c + \frac {d^2}d) = 4 (\frac 1a + \frac 1b + \frac 1c + \frac 1d) \ge 16,$$  since $$\frac 1a + \frac 1b + \frac 1c + \frac 1d \ge \sqrt{\frac {(1 + 1 + 1 + 1)^3}{a^2 + b^2 + c^2 + d^2}} = 4.$$  Now my work might seem stupid or off-topic here, but I provide it here because I wish any of these attempts will lead to a solution. Any hints will be appreciated. The standard font packages make global changes to the fonts in my document. What if I want to use a particular font for just a portion of my text?   How do I find the right name of the font? How do I select the font? How do I restrict the scope of the font change?     There are separate answers for different flavors of TeX (quick links): How are answers with the same vote score sorted? What is JavaScript's highest integer value that a number can go to without losing precision? Decode JWT Token in Apex I am trying decode JWT token in apex, and i am not sure how that can be done. If anyone has done that before, please let me know the process.  A JWT token is sent to SFDC and need to decode it in apex class.  Questions: 1) Can we decode the JWT using any standard salesforce classes, if yes what class and method? 2) Or do we need to decode it with our custom code -- if so can you provide an example. Strange behaviour of "ls -a | grep ^\." I wanted to list the content of a pwd and display only file starting with dot. I tried ls -a | grep ^\. but I cannot figure out why the output contains also the files which do not start with dot. For example:  Pictures .pip .pki .profile projects Public   I know that I can achieve what I want with ls -ld .* I am just curious about this behaviour of grep which I can't explain. How can I force a long string without any blank to be wrapped? I have a long string (a DNA sequence). It does not contain any whitespace character.  For example:  ACTGATCGAGCTGAAGCGCAGTGCGATGCTTCGATGATGCTGACGATGCTACGATGCGAGCATCTACGATCAGTCGATGTAGCTAGTAGCATGTAGTGA   What would be the CSS selector to force this text to be wrapped in a html:textarea or in a xul:textbox? Using FFmpeg and IPython