What is retired out in cricket?
What is the difference between "retired out" and "retired not out" in cricket?
Adding parentheses around subfig references Say I have a figure with two subfloats inserted using the subfig package.  When I reference them with \ref{myLabel} I get this     Figure 3.5a and 3.5b.     But what I want is this:     Figure 3.5(a) and 3.5(b).   How can I add the parentheses? Multiple Damage Resistance Similar questions to this have been asked, but I wasn't able to find one that answers this specifically.  Say that you have resistance to slashing damage as well as resistance to fire damage (no caveats to nonmagical damage or not).  You are fighting someone who has a flaming greataxe (just an enchanted item) that deals 1d12+STR slashing damage, plus 1d6 fire damage on hit and they hit you.    How do you calculate the damage?   (1d12+1d6+STR)/2 (1d12/2) + (1d6/2) + STR (1d12+STR/2) + (1d6/2) something else? Which singular names ending in “s” form possessives with only a bare apostrophe? Many questions already ask about this topic ( , , etc.) and their answers vary, but they always give exceptions to the apostrophe-s rule, for example:      6.24 The general rule for the possessive of nouns covers most proper nouns, including most names ending in sibilants."   Examples they give include Kansas’s, Ross’s land, and Jones’s reputation. Exceptions include Jesus’  and Moses’.  Which names does this apply to?  Is the Aeneas’  form correct, or is it Aeneas’s instead? What are all the common undefined behaviours that a C++ programmer should know about?  Say, like:  a[i] = i++; How to parse a string into a nullable int I'm wanting to parse a string into a nullable int in C#.  ie. I want to get back either the int value of the string or null if it can't be parsed.  I was kind of hoping that this would work  int? val = stringVal as int?;   But that won't work, so the way I'm doing it now is I've written this extension method  public static int? ParseNullableInt(this string value) {     if (value == null || value.Trim() == string.Empty)     {         return null;     }     else     {         try         {             return int.Parse(value);         }         catch         {             return null;         }     } }      Is there a better way of doing this?  EDIT:  Thanks for the TryParse suggestions, I did know about that, but it worked out about the same.  I'm more interested in knowing if there is a built-in framework method that will parse directly into a nullable int? A graph $G$ is bipartite if and only if $G$ can be coloured with 2 colours A Big fancy "Q" One time I remember seeing a Q ligature in \setmainfont{EB Garamond} (fontspec, EB Garamond, etc.) that involved a wonderful long swash. Now I don't know how to get it. Contrary to most other questions in this topic, how do I force this big Q?  Here's a (not too) minimal working example:  \documentclass{article} \usepackage[margin=0.9in]{geometry} \usepackage{microtype} \usepackage{fontspec}  \usepackage{xspace} \defaultfontfeatures{SmallCapsFeatures={Renderer=Basic}} %\setmainfont{EB Garamond} \usepackage{multicol}  \def\cm#1{\relax} \newcommand{\qsec}[1]{{\mbox{}\hfill\scshape #1}} \newenvironment{qset}[1]{         \mbox{}\\\qsec{#1}\par\begin{multicols}{2}     }{         \end{multicols}     } \newcommand{\q}[2]{{\em #1} #2\xspace} %\def\q#1#2{{{\em #1} #2\xspace}}  \begin{document} \fontsize{11pt}{14pt}\selectfont \fontspec[Ligatures={Required,Common,Contextual,Discretionary,TeX},Style=Alternate]{EB Garamond} \noindent\mbox{Simon Kuang}\hfill\mbox{\today} \centerline{\emph{Oedipus Rex} Study Guide Questions} \begin{qset} {First Episode --- Oedipus, Chorus, and Tiresias} \noindent \q{Explain the following ironies in Oedipus's speech (218--220; 236--248; 249--251; 259--265).}{Que is.} \end{qset} \end{document} How do you end with a single quote followed by a double quote? I have a paragraph as follows:  ``This is a quote. `Here is a quote within a quote.'''   But the formatting works out to be a double quote (") followed by a single quote (') instead of the other way around. How can I solve this problem? How to show that Klein four-group is a normal subgroup of the alternating group $A_4$ I want to show that the Klein four-group is a normal subgroup of the alternating group $A_4$.   I am using the information in , that shows explicitly $A_4$, and Klein four-group as a subgroup.  I know that there is the direct way, by definition, but is there a way that does not require actually multiplying so many permutations ? I want to switch to French locale. So I tried the below command:  myUbundu@myUbundu-desktop:~$ export LC_ALL=fr_FR   But I am getting the warning  -bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR)   How to set the locale to French? Do I need to install additional packages? I have a COM dll written in vb6. When I try to create a new object of a class module from this dll I get a Run timer error 430: Class does not support automation or does not support expected interface. The interesting thing is that this happens only from outside the IDE, when I am debugging from within the IDE there is no error thrown and the new object of the class is created successfully. What can be the cause?  In general I occasionally get these kind of errors in COM dlls. What is the best way to debug COM issues? How can I know the path of the dll that is being used when a program is running? How many permutations of $\{1, \ldots, n\}$ exist such that none of them contain $(i, i+1)$ (as a sequence) for $i \in {1,...,(n-1)}$? Can we search posts by number of comments? I have a Mac that runs Snow Leopard and I intend to upgrade it to Mountain Lion and sell it on ebay. However, I only have one hard-drive, and I'm sure I can't use something in my OS to delete my OS and all user data.  Is there something for this that's built into the firmware that I can do on boot, or otherwise?   I have source code on my Mac for multiple corporations' proprietary software and I can't risk somebody gaining access through the use of any sort of disk recovery tool. I plan to use a 7 pass erase rather than simply deleting the directory. Is it possible to only allow specific packages updates from a PPA How can I import an obj sequence into blender? I have an obj sequence of a fluid simulation from Realflow. I've found a few tools that can import an obj sequence into blender, but most are outdated and don't work. Are there any scripts or plug-ins that can do that? I'm getting an error in WSL while trying to use .  I followed all the install steps successfully on Windows 10 x64 using the steps at , then Ubuntu for Windows with GitHub desktop .  But I'm blocked at the latest steps.  It's where I trying to download or train the model in Windows. Using for example the Ubuntu Linux prompt, I navigate manually to the appropriate place and type a following command like the one below (I also tried in su mode)  bash pretrained_models/download_pix2pix_model.sh facades_label2photo   I get an immediate error, always the same, similar to these:  root@Azure:/mnt/c/Users/vincent/Downloads/vision/pytorch-CycleGAN-and-pix2pix# bash pretrained_models/download_pix2pix_model.sh facades_label2photo pretrained_models/download_pix2pix_model.sh: line 2: $'\r': command not found Note: available models are edges2shoes, sat2map, and facades_label2photo pretrained_models/download_pix2pix_model.sh: line 4: $'\r': command not found ]pecified [facades_label2photo pretrained_models/download_pix2pix_model.sh: line 6: $'\r': command not found mkdir: cannot create directory ‘./checkpoints/facades_label2photo\r_pretrained\r’: No such file or directory pretrained_models/download_pix2pix_model.sh: line 10: $'\r': command not found WARNING: timestamping does nothing in combination with -O. See the manual for details.  : No such file or directoryhphoto pretrained_models/download_pix2pix_model.sh: line 12: $'\r': command not found pretrained_models/download_pix2pix_model.sh: line 13: $'\r': command not found   Any idea? How can I permanently enable cheating? Is it acceptable to say "fed up OF" - surely it should be "fed up WITH" or "bored WITH something" rather than "bored OF something"? Plot showing discontinuity where it shouldn't