How to take effect `usermod` command without logout and login
How to allow to run su instantly after I added the user to the appropriate group
What do Pentax and Sigma DSLRs offer that differs from Canon and Nikon? We have a question and answers outlining the . I'm interested in the other DSLR makers, and how the cameras they make compare in terms of significant features, system design philosophy, and unique or interesting photographic capabilities enabled or made easier by these cameras. Likewise, what such things are not handled as well?  Take "the big two have more market share" and the associated advantages of availability, accessibility, and third-party support and documentation .  I'm not interested here in compact cameras, interchangeable-lens cameras with electronic viewfinders, or in rangefinders. (If you're interested in that, though, see )  P.S.: Differences in lens lineups are covered at What is a word for doing something that you don't want to do? I am reading Of Mice and Men, and I am trying to come up with a word that describes how George manages to shoot Lennie at the end of the book.  I have come up with Self Discipline, and Overcoming Weakness, but none of those really seem to suffice.  Any suggestions would be great! leaflet geojson coordinate problem I just started to play with leflet/geojson a little. But my coordinates are not rendered properly and I have no clue what is going on.  My coordinates are: 52.23943, 4.97599. They work correct with the setView function.  var map = L.map('leaflet_map').setView([52.23943, 4.97599], 15);   But using a geojasonFeature they are, hmmm, 'projected', somewhere east of Somalia.  var geojsonFeature = {             "type": "Feature",             "properties": {             "name": "Coors Field",             "amenity": "Baseball Stadium",             "popupContent": "This is where the Rockies play!"             },             "geometry": {                 "type": "Point",                 "coordinates": [52.23943, 4.97599]             }         };         var myLayer = L.geoJson().addTo(map);         myLayer.addData(geojsonFeature).bindPopup("I am a gjson point.");   Anyone who knows what is happening here?  EDIT  Out of pure curiosity I changed the coordinates around [4.976143930893815,52.23925499011473] and the point appears at its correct location. A known bug!? Are there any distinct finite simple groups with the same order? In finite group theory, it's often quite easy to show that there are no simple groups of a given order $n$.  My question is different: is there some natural number $n$ such that there are two non-isomorphic simple groups of order $n$?  The two easiest families of finite simple groups - $\mathbb{Z}_p$ for $p$ a prime and $A_n$ for $n\ge5$ - clearly don't yield any examples.    It should be possible to check this using the , but I don't know enough about the fabled 'sixteen infinite families of groups of Lie type' to do the check myself.  Also, if the answer is 'no', I'd be much more interested to see an elementary(ish) proof than I would be to see a proof that relies on over 3,000 pages of non-stop hard group theory. Is there a function $f\colon\mathbb{R}\to\mathbb{R}$ such that every non-empty open interval is mapped onto $\mathbb{R}$? I wonder  whether there is a function $f\colon\Bbb R\to\Bbb R$ with the folowing characteristic?   for every two real numbers $\alpha,\beta,\alpha\lt\beta$,  $$\{f(x):x\in(\alpha,\beta)\}=\Bbb R$$   I can't  say such a function does not exist, neither can I construct a example  Thanks a lot! How do I add Python to the Windows PATH? I want to be able to run Python commands from the Windows CMD. However, if I don't specify Python's full path for each command, I get an error saying "Python is not recognized as an internal or external command, operable program or batch file."  How do I add Python to the Windows PATH permanently? Pearson VS Deviance Residuals in logistic regression I know that standardized Pearson Residuals are obtained in a traditional probabilistic way: $$ r_i = \frac{y_i-\hat{\pi}_i}{\sqrt{\hat{\pi}_i(1-\hat{\pi}_i)}}$$ and Deviance Residuals are obtained through a more statistical way (the contribution of each point to the likelihood): $$ d_i = s_i \sqrt{-2[y_i \log \hat{\pi_i} + (1 - y_i)\log(1-\hat{\pi}_i)]} $$ where $s_i$ = 1 if $y_i$ = 1 and $s_i$ = -1 if $y_i$ = 0. Can you explain to me, intuitively, how to interpret the formula for deviance residuals? Moreover, if I want to choose one, which one is more suitable and why? BTW, some references claim that we derive the deviance residuals based on the term $$-\frac{1}{2}{r_i}^2$$ where $r_i$ is mentioned above. In C#/VB.NET/.NET, which loop runs faster, for or foreach?  Ever since I read that a for loop works faster than a foreach loop a  I assumed it stood true for all collections, generic collections, all arrays, etc.  I scoured Google and found a few articles, but most of them are inconclusive (read comments on the articles) and open ended.  What would be ideal is to have each scenario listed and the best solution for the same.  For example (just an example of how it should be):   for iterating an array of 1000+ strings - for is better than foreach for iterating over IList (non generic) strings - foreach is better than for   A few references found on the web for the same:               [Edit]  Apart from the readability aspect of it, I am really interested in facts and figures. There are applications where the last mile of performance optimization squeezed do matter. Prove any orthogonal 2-by-2 can be written in one of these forms.... I'd like to prove that any orthogonal $2 \times 2$ matrix can be written   $$\bigg(\begin{matrix}    \cos x &amp; -\sin x  \\     \sin x &amp; \cos x   \end{matrix}\bigg) \hspace{1.0em} \text{or} \hspace{1.0em} \bigg(\begin{matrix}    \cos x &amp; \sin x \\    \sin x &amp; -\cos x \end{matrix}\bigg)$$  for $0 \le x &lt; 2\pi$.  I have no idea how to do this. I feel like this is something I've missed and is really straightforward but I can't find it in my book... I am curious as to why "nay" replaces the simple unequivocal "no" in the context of voting.  My research in Merriam-Webster tells me that "nay" means "no" (not the other way around) and the first known use of "nay" appeared in 1400s. Since the use of "no" existed before 1400 and the word remains to be used afterward, why would "nay" become the preferred choice of word when it comes to voting. Any idea? How to render world position pass How do I combine two lists into a dictionary in Python? Keep old kernels How can you move a document with its version history to a new library? Here's the scenario:  2 document libraries Both contain multiple documents The documents have multiple versions  When I copy a document from library A to Library B using the Content and Structure tool from Site Settings, my versions do not carry over. I'm trying to merge the two document libraries into one, but I want to retain the versions. Do you know of a way to complete this without third party tools or custom code? I've heard suggestions of using Explorer View copy and paste, SharePoint Designer and List Templates, but I'm not sure any of those will carry version info. Modern solution For modern SharePoint experiences, use Move To. Update 4/24/2018: There's a new solution in Office 365. You can now select a file or group of files in the modern experience in OneDrive or SharePoint and select Move to. A file or group of files moved this way will retain version history. Update 6/6/2021: As @KJH mentioned in a comment, you may not see the modern experience unless you . Also, there's more detail now in the Microsoft article . How to insert code with accents with listings? I'm trying to insert source code in LaTeX with using listings, but my code has accents and pdflatex gives me this error:  Unicode char \u8:�\expandafter not set up for use with LaTeX.   This is a code the reproduces the error.  example.tex  \documentclass{article} \usepackage{listings} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel}  \begin{document}  \lstinputlisting[language=C++]{code.cpp}  \end{document}   code.cpp  // Código con una tilde   What can I do to generate the PDF correctly? Is my model any good, based on the diagnostic metric ($R^2$/ AUC/ accuracy/ RMSE etc.) value? Is there anything in the physics that enforces the wave function to be $C^2$? Are weak solutions to the Schroedinger equation physical? I am reading the beginning chapters of Griffiths and he doesn't mention anything. Find $\sum_{n=1}^\infty \frac{n^3}{n!}$. I have to find the sum of the following series:  $$\sum\limits_{n=1}^\infty \frac{n^3}{n!}$$  I know how to prove the convergence of this series, but how do i find the sum. I can't use the properties of derivation or integration of the series, i have to do it using the definition that a series converges iff it's sequence of partial sum converges. I remember (vaguely) reading somewhere that it is wrong to use the present perfect when the subject of a sentence is someone who is long dead:     *Einstein has visited the Philippines.   My question is, What if the dead person is not the subject but an object:     Leo is the best president our country has/had ever had. (The ones who   succeeded him were inferior, even our current president.)   Which tense is proper here In what sense are Asgardians "immortal" in the MCU?