There are ways to configure dead keys in Linux to mimic the behavior they have in Windows ?  This document describe how it works in Windows:  The difference between Linux and Windows dead keys is highlighted in bold:      When you press the APOSTROPHE (') key, QUOTATION MARK (") key, ACCENT GRAVE (`) key, TILDE (~) key, ACCENT CIRCUMFLEX key, or CARET (^) key, nothing appears on the screen until you press the a second key. If you press one of the letters designated as eligible to receive an accent mark, the accented version of the letter appears. If you press an ineligible key, two separate characters appear.   In Linux when you press a second key not eligible to receive a accent, the first key pressed is lost. This reduce the typing productivity, a lot.
When I use any variation of English, US international (with dead keys,altGr dead keys or alternative) on my Linux Mint machine I always encounter this behaviour. When I press one of these keys: ' " and then follow them with a 'non-accentable' character like a [ or a b no output comes out at all.    Whereas in Windows US-International it would print [ or b. If I wanted to type this I would have to escape each dead key with a space instead of with any 'non-accentable' character. This is annoying when programming (not really, but I trained with the Windows 'Qwerty International' on typing.io and switching back and forth between the systems is irritating).    Is there any way to change that so it works like in Windows?
Kolmogorov-Smirnov two-sample $p$-values I am using the Kolmogorov&ndash;Smirnov two-sample test to compare distributions, and I noticed a $p$-value is frequently reported as the test statistic. How is this $p$-value determined? I know it's the probability of obtaining a result at least as large as the one obtained, but how is this $p$-value determined given this is a nonparametric test? That is, we can't assume Gaussian fluctuations in the distribution and compute the $p$-value using a $t$-test.  Thanks! What can I do to prevent passport stamps being put on blank pages? I'm running low on blank passport pages which are sometimes needed for full page visas such as those issued by Armenia, India, and Vietnam.  When I crossed the border into Turkey the other day I got my visa-on-arrival and stamp, but instead of putting it on a partly used page, which I have many, the guy at customs and immigration put them on a previously blank page. Now I have one fewer!  What can I do to prevent or at least reduce the chances of this happening?  It's worth remembering that there's likely to be a language barrier and it's always best to be ultra-nice to these border officials.  Has anybody heard of any trick such as sticking bit of paper in your passport, either blank, or looking a bit like visas? I have noticed that nobody ever stamps a page that has a remnant of something once stapled in there in Japan. There is a kind of stub that had its major part torn off along a perforation. Might I be able to emulate this somehow or would that even be worse making the blank pages invalid for full page visas due to having holes from staples? I know some things can get very picky when it comes to customs and immigration. While using the top bar to navigate across communities, I noticed that the reputation displayed on meta sites on that list does not match the one of their corresponding main sites:    I have noticed on past situations that reputation gained takes a bit to "update" on the display on Meta sites (that is, if you gain rep on SO, for example, it will take some time for you to see your updated rep on MSO).  However, I have never noticed this behavior here, on the Sites List of the top bar. Furthermore, the "delay" here seems to be more severe, as the "outdated" rep showed is of several days ago (for example, I turned 3k on SO almost exactly a week ago, but the rep shown on MSO is still &lt;3k).  Any idea what could be causing this behavior?    Update: 2 months later this persists: my main site rep updates correctly but their corresponding meta rep remains the same as in the image above.     Update: As per Catija's  I removed the site (MSO) and put it back in, but it didn't update the rep.   However, after removing one site (TWP Meta), waiting at least a day, and then adding it back I see that although the reputations still don't match, the number displayed did changed a bit (previously 29,924 but now 33,112): Can low-gravity planets sustain a breathable atmosphere? If astronauts could deliver a large quantity of breathable air to somewhere with lower gravity, such as Earth's moon, would the air form an atmosphere, or would it float away and disappear? Is there a minimum amount of gravity necessary to trap a breathable atmosphere on a planet? What's with the Japanese SO's stats? Getting arguments underneath \min in an align environment How to make tr aware of non-ascii(unicode) characters? I'm trying to remove some characters from file(UTF-8). I'm using tr for this purpose:   tr -cs '[[:alpha:][:space:]]' ' ' &lt;testdata.dat    File contains some foreign characters (like "Латвийская" or "àé"). tr doesn't seem to understand them: it treats them as non-alpha and removes too.  I've tried changing some of my locale settings:  LC_CTYPE=C LC_COLLATE=C tr -cs '[[:alpha:][:space:]]' ' ' &lt;testdata.dat LC_CTYPE=ru_RU.UTF-8 LC_COLLATE=C tr -cs '[[:alpha:][:space:]]' ' ' &lt;testdata.dat LC_CTYPE=ru_RU.UTF-8 LC_COLLATE=ru_RU.UTF-8 tr -cs '[[:alpha:][:space:]]' ' ' &lt;testdata.dat   Unfortunately, none of these worked.  How can I make tr understand Unicode? I want to create a animation like those "spacetime deformation" ones, but I am stuck on creating "spacetime".  (a mesh/plane).  I created a plane, gave it a soft body, collisions, and a passive rigidbody.    A cube with a rigidbody and collisions will land and deform the mesh, but it snaps right back.  How can I make it so the cube lands, and then leaves the plane deformed, and the cube just sits there?  I googled around and searched this site, nothing comes up.  An image of what I want (after it settles):    The ball depressed the mesh, creating an indentation. Possible Duplicate:          Here is my sync script:  ssh user@remote.host /etc/init.d/some_service stop scp user@remote.host:/var/some_service/events ./events scp ./new_data user@remote.host:/var/some_service/new_data ssh user@remote.host /etc/init.d/some_service start   As You can see, it stops service, perform some copies with scp and starts service back.  The problem: it "costs" 4 "similar" ssh connections in a row.  Is there any way to make all the work, using one physical ssh connection? contractive property A topological property $\mathcal{R}$ is contractive if $(X,\tau)$ has property $\mathcal{R}$ and if $\tau^{\prime} \subset \tau$, then (A, $\tau^{\prime}$) has property $\mathcal{R}$.  A topological space is $T_B$ if each compact subset  is closed.  A topological space is called a US-space provided that each convergent sequence has a unique limit.  A topological space is called a C- C-space provided that  the  compact subsets  are precisely the closed sets.     Is property C-C , US contractive,  hereditary?      Is property $T_B$  contractive? My question is related to my previous asked one:   I have about 300 shapekeys and want to set the random value for all of them . How to do it using scripting? I have the following code:  Using cmd As SqlCommand = Connection.CreateCommand     cmd.CommandText = "UPDATE someTable SET Value = @Value"     cmd.CommandText &amp;= " WHERE Id = @Id"     cmd.Parameters.AddWithValue("@Id", 1234)     cmd.Parameters.AddWithValue("@Value", "myValue")     cmd.ExecuteNonQuery End Using   I wonder if there is any way to get the final SQL statment as a String, which should look like this:  UPDATE someTable SET Value = "myValue" WHERE Id = 1234   If anyone wonders why I would do this:   for logging (failed) statements for having the possibility to copy &amp; paste it to the Enterprise Manager for testing purposes Why would layout_width="wrap_content" take up the entire width of the screen? python: restarting a loop i have:  for i in range(2,n):     if(something):        do something     else:        do something else        i = 2 **restart the loop   But that doesn't seem to work. Is there a way to restart that loop?   Thanks How to run adb and fastboot commands from Termux? Should you gain rep for asking a duplicate question? I have a script which calls two commands:  long_running_command | print_progress   The long_running_command prints progress but I'm unhappy with it. I'm using print_progress to make it nicer (namely, I print the progress in a single line).  The problem: Connection a pipe to stdout also activates a 4K buffer, so the nice print program gets nothing ... nothing ... nothing ... a whole lot ... :)  How can I disable the 4K buffer for the long_running_command (no, I do not have the source)? The Borel-Cantelli Lemma in  seems to be a sort of "corollary" of the .  It says:  "Let $(E_k)_{k=1}^{\infty}$ be a countable collection of measurable sets for which $\sum_{k=1}^{\infty} m(E_k) &lt; \infty$. Then almost all x $\epsilon \ \mathbb{R}$ belong to at most finitely many of the $E_k$'s"  I don't get three things:   "Then almost all x $\in \ \mathbb{R}$ belong to at most finitely many of the $E_k$'s"   What does that mean? Since the Borel-Cantelli Lemma comes after the "almost everywhere" definition, I guess: $\exists \ Z \ \subset \mathbb{R}$ s.t. $m(Z) = 0$ and $\forall x \ \in \ \mathbb{R} \setminus Z$, x belongs to $(E_{j}, E_{j+1}, E_{l}, ..., E_{m})$.   In the proof, one can see the $m(\limsup \ E_k) = 0$ part, stated as $m(\cap_{n=1}^{\infty} [\cup_{k=n}^{\infty} E_k]) = 0$. For some reason, $m(\cap_{n=1}^{\infty} [\cup_{k=n}^{\infty} E_k]) = 0$ implies that "Therefore almost all x $\in \ \mathbb{R}$ fail to belong to $\cap_{n=1}^{\infty} [\cup_{k=n}^{\infty} E_k]$ and therefore belong to at most finitely many $E_k$'s"   Okay, why? What is the contradiction if almost all $x \epsilon \ \mathbb{R}$ belong to all the $E_k$'s? Or a countably infinite subcollection?   What is the significance of this? Why not just state the Borel-Cantelli Lemma as "Let $(E_k)_{k=1}^{\infty}$ be a countable collection of measurable sets for which $\sum_{k=1}^{\infty} m(E_k) &lt; \infty$. $m(\cap_{n=1}^{\infty} [\cup_{k=n}^{\infty} E_k]) = 0$"? Bash: command not found General formula for evaluating integrals of the form $\displaystyle\int_0^\infty x^ae^{-bx}dx$ Find a general formula for evaluating integrals of the form $\displaystyle\int_0^\infty x^a e^{-bx}dx.$   I've been pondering about this question for some time. Obviously integration by parts is way too inefficient. I know there's recursion involved and maybe there's a way to find a general formula through intuition.