How to solve this problem on finite groups?
Problem from Herstein on group theory
Using multiple wildcard parameters with arcpy.ListFeatureClasses I know there has to be a way to do this but I'm having trouble figuring out how to do so. I would like to create a list of feature classes to perform operations on however, I want to have the list contain feature classes which have 2 separate and distinct file name identifiers. The code would look something like:  FCS = arcpy.ListFeatureClasses("X_*" OR "*_Y")   I know OR is incorrect however, is there some way to do this without having to re write code to work with the second wildcard. Thanks for helping gout, i know there is a selection method in the Select By Attributes which allows for multiple wildcard use using the OR statement. vertically align top line of item contents with item number \begin{enumerate}     \item This looks good.     \item       $\begin{aligned}         \mathrm{This} &amp;= \mathrm{is} \\                       &amp;= \mathrm{not\ nicely\ aligned}       \end{aligned}$     \item \begin{tabular}{ccc}             &amp; Neither &amp; is \\        this &amp; table.  &amp;    \\     \end{tabular} \end{enumerate}   It currently looks like this:    But I want it to look like this:    Vertically-aligned so that the top line of the ... item contents, lines up with the item number. Can't format my usb drive. I have already tried with mkdosfs and gparted I have a MicroSD card in a USB adapter (which plugs into a USB port on my machine, and acts like a USB flash drive). I was using Unetbootin to make this a bootable USB flash drive with Kubuntu. But I needed to cancel while it was working. So I killed the Unetbootin process from the console.  Since then, I can't format the MicroSD or delete the folder that Kubuntu made. I have also tried mkdosfs, with no success. I can't mount the drive anymore either? What can I do to make this drive usable again?  Trying to create a new partition table in GParted, as described in Eliah Kagan's answer, does not work. It fails with the error message "imposible crear tabla de particiones" ("unable to create a partition table"). Arc length parameterization lying on a sphere Quote unquote (or end-quote), unseparated by the actual quotation In spoken English, people often say "quote-unquote" (or "quote-endquote") to indicate that part of what they are saying is a quotation (scare or otherwise). Sometimes the quoted material will go between quote and unquote, and occasionaly it will precede the quote-unquote. Often, though, "quote unquote" introduces the quoted material.  Why does quote unquote precede the quotation?  It would seem that quote opens the quoted text and that unquote closes it, but then why would we close the quotation before actually providing it. It would be the equivalent of writing your quotation marks together, "", rather than around the quoted text.  What are the origins of this construction?  Three years ago ChrisR asked  on whether it is correct to use quote, unquote. The answers did not deal with origins, but one commenter suggested that quote-unquote is a corruption of quote-on-quote, but he provided no evidence, nor any real explanation. Anyone can optimized this code for better explanation and easy to understand? Is it possible to copy text from image? Is there any tools to copy text from video's or images? Common lines between two files I have the following code that I run on my Terminal.  LC_ALL=C &amp;&amp; grep -F -f  genename2.txt hg38.hgnc.bed &gt; hg38.hgnc.goi.bed   This doesn't give me the common lines between the two files. What am I missing there? More than a decade ago, I read a short story about a small group of people at the end of the world. The story was premised on some sort of mass-produced device which took ambient heat and turned it into power. The devices had been overused, and now the world was freezing.   I think the people were essentially bandits; the main character may have been a woman who lured men to her house and killed them for their body heat? There was also a strong implication that one person she had done this to was an alien who had come to warn that the devices were destroying the world.  I think the story was in a hardbound collection, and I think the collection was from the late 70's or very early 80's.  (Calling it a "short story" is just meant to distinguish it from a full novel — it may have actually been a novella or similar.) I'm looking for a specific scifi book that I read years ago, I only partially remember the story, and I don't remember the author or the title.  What I remember of the story is:   An alien race picks up a signal from humans that includes instructions on how to make their own humans (genetic instructions). The humans grow up knowing they are created and are taught by the alien race. They are eventually given resources to build a ship, and go looking for their origins. They eventually find the solar system, but nobody answers. They find some stations orbiting earth and find that the station is very old, so old in fact that humans have long been extinct and other creatures have reached local space, and have been looking around the station as an archeological dig. I think they refer to two developed races from earth, but one developed from rats.   If anyone know what story this is, and can point me at it, its been driving me crazy for at least 15 years, and I think it's actually been much longer, since I can't remember when I read it. Can Spirit Guardians affect enemies through walls? Why is the gap between the translation and the last line of the gloss so wide in my interlinear gloss? I notice if I take away some letters, the translation line goes to where it should be, but this big block of white space is pretty untenable. Ideas?    \documentclass[11pt,a4paper]{book}  \setcounter{secnumdepth}{4} \usepackage{gb4e} \usepackage{tipa} \usepackage{setspace} \usepackage[T1]{fontenc} \begin{document} \begin{exe} \ex \glll Jichax    Qamaqix lij parki,  aynacha,    amsta,  parki, q'awanaks,   khuyt'asis  sarawjchix. \\ \{jicha-x(a)    Qamaqi-x(a) lij(u)  parki   aynacha amsta   parki q'awa-nak(a)-_{c}$\oslash$-s(a)   khuy(u)-t'a-s(i)-s(a)   sara-wj(a)-ch(i)-i-x(a)\}    \\ now-\textsc{top}    Fox-\textsc{top}    all acclivity   declivity   ascent  acclivity ravine-\textsc{pl-acc-ad} whistle-\textsc{m}-\textsc{refl}-\textsc{subr} go-\textsc{bfr-cnj-3sim-top}\\ \glt `And so, Fox must've gone whistling on all the ascents, slopes, ascents, mountainsides, and even in the ravines.' \end{exe} \end{document} Someone mentioned it in the IRC as the slicing problem. What's wrong with this equal probability solution for Monty Hall Problem? I'm confused about why we should change door in the Monty Hall Problem, when thinking from a different perspective  gives me equal probability.   Think about this first: if we have two doors, and one car behind one of them, then we have a 50/50 chance of choosing the right door.   Back to Monty Hall: after we pick a door, one door is opened and shows a goat, and the other door remains closed. Let's call the door we picked A and the  other closed door B. Now since 1 door has already been opened, our knowledge has changed such that the car can only be behind A or B. Therefore, the problem is equivalent to: given two closed doors (A and B) and one car, which door should be chosen (we know it's a 50/50 thing)? Then, not switching door = choosing A, and switching door = choosing B. Therefore, it seems that switching should be equally likely, instead of more likely.   Another way to think: no matter which door we choose from the three, we know BEFOREHAND that we can definitely open a door with a goat in the remaining two. Therefore, showing an open door with a goat reveals nothing new about which door has the car.   What's wrong with this thinking process? (Note that I know the argument why switching gives advantage, and I know experiments have been done to prove that. My question is why the above thinking, which seems legit, is actually wrong.) Thanks. When would you use a voltage regulator vs a resistor voltage divider?  Are there any uses for which a resistor divider is particularly bad? I am pretty sure that most of us here, or at least those do graphic design for living, have found themselves in following situation:   You agree with a client to do the design, agree on price, schedules, formats etc… You work hard, make adjustments, collaborate with client; everything goes well in the beginning. At some point you realise that the client does not listen your professional advice regarding design and prefers his/her own ideas that might not look so professional (choice of fonts, colors, odd choices of elements, shapes etc…). No matter how hard you try, the client is persistent and will not accept the designer’s advice. You get back to work, try to make the best out of it, and the final result is not so good, mainly because you had to stick to the client’s wishes. Work is shipped, payment done, and you don’t want to include this work in your portfolio because it is not good. After all, it is not your work, it is something that was physically created by you as a designer, but the ideas, concept, story, and message came out as a result of nonprofessional person, your client.   Ok, they pay for it, and as long as they are happy this is fine. But, the more compromises you make, the more time you spend working on bad design. If you are a young designer on a quest to get recognition, you don’t want to work just for the sake of money and then face the lack of good design in your portfolio.   Maybe at the beginning of your career you don’t care that much, but later if life this might be a big issue. At some point you will be approached by a big client that might offer you long-term contract, but first they will want to see your work. No point explaining to them what you did and why you made so many compromises.   They will not be interested in that.  Every project is precious as your time and you want to do use it wisely and produce great work.   How would you deal with such a situation? What is an example of pairwise independent random variables which are not independent? Why is diamond transparent while graphite is not? Diamond and graphite are both made of the same atom, carbon. Diamond has a tetrahedron structure while graphite has a flat hexagonal structure. Why is diamond transparent while graphite is not (at least not with more than a couple of layers)? I created this style that shifts the labels and put them on the bottom of the ybars.  However, I have a problem with the bars that have too short length (for example, see the 8.7 and 5.1 in the example below). I want to check if the values are less than some threshold, or the length of the bar is shorter than the label (number) then change its color.  How can I overlay another label on top of the one in white when the bar is shorter? or maybe change the color of the label to a gradient color? or just overlay the part that is outside of the bar?    \documentclass{standalone}  \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable} \usetikzlibrary{calc}  \begin{document} \makeatletter \begin{tikzpicture} \begin{axis}[ ybar, every node near coord/.style={   check for zero/.code={ % If meta=0, make the node a coordinate (which doesn't have text)     \pgfmathfloatifflags{\pgfplotspointmeta}{0}{         \pgfkeys{/tikz/coordinate}     }{}   },   check for zero, color=white, text opacity=1, font=\footnotesize, inner ysep=0.5pt, },% % Bottom nodes  calculate full offset/.code={     \pgfkeys{/pgf/fpu=true,/pgf/fpu/output format=fixed}     \pgfmathsetmacro\testmacro{((\pgfplotspointmeta-\pgfkeysvalueof{/pgfplots/ymin})*10^\pgfplots@data@scale@trafo@EXPONENT@y)*\pgfplots@y@veclength}     \pgfkeys{/pgf/fpu=false} },% nodes near coords bottom/.style={     every node near coord/.append style={         /pgfplots/calculate full offset,         yshift=-\testmacro,         rotate=90, anchor=west,%I need the rotate text here and not in the          %general style, as the ybar redefines the style     } },% ymin=0, nodes near coords={\pgfmathprintnumber[fixed zerofill,precision=1]{\pgfplotspointmeta}}, nodes near coords bottom, ] \pgfplotstableread{ % set real imag mag 1 8.7 2 5.1 3 91.8367  }\mydata \addplot table[x index=0,y index=1,header=false] {\mydata}; \end{axis} \end{tikzpicture} \makeatother \end{document}   * EDIT *  I need to create some special gradient on each label that is below the bar height. For example, I need to adapt something like  to each label that is not showing. However, I cannot find a way to put the macro in the style section of the codes. Or is there any equivalent solution? I haven't written any C++ in years and now I'm trying to get back into it. I then ran across this and thought about giving up:  typedef enum TokenType {     blah1   = 0x00000000,     blah2   = 0X01000000,     blah3   = 0X02000000 } TokenType;   What is this? Why is the typedef keyword used here? Why does the name TokenType appear twice in this declaration? How are the semantics different from this:  enum TokenType {     blah1 = 0x00000000,     blah2=0x01000000,     blah3=0x02000000 };