Find all files in the current directory and its subdirectories with the extension .png
How do I locate all files that include specific word as part of name and end with specific extension?
Is there an efficient way to enumerate the unique subgroups of the symmetric group? Naïvely, for the symmetric group $S_n$ of order $\left | S_n \right | = n!$, there are $2^{n!}$ subsets of the group members that could potentially form a subgroup. In addition, many of these subgroups are going to be isomorphic to each other. I feel that the question has an easy answer in terms of the conjugacy classes, but I don't see how. If the answer generalizes to all finite groups, please elaborate! Sorting seach results in Android app The issue is how can user sort questions for a particular search query?   For example, I would want to search questions for  and want to see newest questions first.  Right now If we write any query in Search Questions... input box then users are not able to select sorting options as search questions input box takes whole width of the screen and sorting options box gets hidden.  I have also tried to select sorting options first and then search for  but still its showing questions without considering sorting option I have selected. Complex roots of $z^3 + \bar{z} = 0$ Trigonometry question finding the sin and tan If angle $\alpha$ is reflex, and $\cos \alpha = -\frac{9}{41}$, without using a calculator, evaluate  (a) $\sin \alpha$ (b) $\tan \alpha$ (c) $\cos (\alpha - 180\deg)$     . OAuth redirect URL is not honored Interview question: three arrays and O(N*N) Is there a shortcut for switching between these three modes? Can you launch Remote Desktop via URL? Optimal drive configuration for SQL Server 2008R2 I have a fairly busy database server running SQL Server 2008 R2 that has the following setup:   SATA RAID 1 (2 Drives)  - OS / Programs SAS  RAID 10 (4 Drives) - Sql Database Files (data and logs) SAS  RAID 1 (2 Drives)  - TempDB (data and logs)   Assuming I can't add additional drives into this server, have I made the best use of the configuration I have available? Or should I consider another scheme here where logs are isolated from the data files, for example?  Update:  For those that requested further hardware details:   The SATA drives (used for the OS / Program partition) are: WD 7200 RPM 3 Gb/s 3.5 Inch SATA The SAS drives used in the other arrays are: Seagate 15K RPM 6 Gb/s 3.5 inch SAS The RAID controller used is an: LSI 9260-8i SAS/SATA 6 Gb 8 port   Update 2:  Based upon the feedback I've received, it looks like I have the following viable options to choose from - I will award the bounty to someone that can tell me which is likely to be the best in the environment that I've outlined:   Leave everything as is - I probably won't do much better  Move my 2 SAS RAID 1 drives into my existing RAID 10 array to have it composed of 6 disks in total  Move my log files onto the SAS RAID 1 and/or relocate TempDB (data or logs) back to the RAID 10 "there doesn't seem" vs. "there don't seem" Is there a Pythonic way to have only one instance of a program running?   The only reasonable solution I've come up with is trying to run it as a server on some port, then second program trying to bind to same port - fails. But it's not really a great idea, maybe there's something more lightweight than this?    (Take into consideration that program is expected to fail sometimes, i.e. segfault - so things like "lock file" won't work) bst file not found Google isn't surfacing Events rich snippets in SERP when JSON-LD Structured Data is valid Google confirms our site has thousands of valid MusicEvent structured data objects presented using JSON-LD, as indicated in the Structured Data section of Webmaster Tools. However, rich snippets for the events do not show up in any search result pages. The Rich Cards tab in Webmaster Tools says:     We did not find any structured data for rich cards on your website.   The structured data is valid with no errors in the Structured Data Testing Tool. We do generate some warnings occasionally for missing endDate and price fields. Comparing our code to a survey of other sites whose rich snippets do appear, we are not doing anything unique in terms of our markup.  The data has been there for months, in fact over the months we've tried also using Microdata format. The Structured Data section indicates that many pages were crawled this week.  Besides SDTT validation, what else can I check to troubleshoot this issue? Abstract class with all concrete methods Do null and alternative hypotheses have to be exhaustive or not? I saw a lot of times claims that they have to be exhaustive (the examples in such books were always set in such way, that they were indeed), on the other hand I also saw a lot of times books stating they should be exclusive (for example $\mathrm{H}_{0}$ as $\mu_1=\mu_2$ and $\mathrm{H}_{1}$ as $\mu_1&gt;\mu_2$) without clarifying the exhaustive issue. Only before typing in this question I found somewhat stronger statement on the  -- "The alternative need not be the logical negation of the null hypothesis".  Could someone more experienced explain which is true, and I would be grateful for shedding some light on the (historical?) reasons for such difference (the books were written by statisticians after all, i.e. scientists, not philosophers). Parsing domain from a URL How could I get the terminal to be launched once I have logged in, so that typing commands is much simpler? Wake-on-LAN quit working with latest kernel (Bionic) I have this below code where i am trying to first search an account name and on hit button it displays the result set.  On the button click i am also loading an child component which is displaying the id of the record.  I need the child component should get displayed once i click on the record.  How can i achieve this -   Parent Component -   &lt;aura:component controller="SimpleAccountController"&gt;     &lt;aura:attribute name="account" type="account[]"/&gt;     &lt;ui:outputText aura:id="outName" value="" class="text"/&gt;     &lt;ui:inputText aura:id="name" label="Enter Name:" placeholder="Your Name" /&gt;     &lt;ui:button aura:id="button" buttonTitle="Click to see what you put into the field" class="button" label="Click me" press="{!c.getInput}"/&gt;     &lt;aura:iteration var="acc" items="{!v.account}"&gt;             &lt;a onclick="{!c.accountselected}" data-recId="{!acc.Id}"&gt;         &lt;p&gt;{!acc.Name} : {!acc.Type} : {!acc.Industry} : {!acc.Rating}&lt;/p&gt;             &lt;/a&gt;         &lt;c:HelloWorkdChildCmp selectedaccount="{!acc.Id}" /&gt;     &lt;/aura:iteration&gt; &lt;/aura:component&gt;   COntroller -   ({     getInput : function(cmp, evt) {         var myName = cmp.find("name").get("v.value");         var myText = cmp.find("outName");         var greet = "Hi, " + myName;         myText.set("v.value", greet);         var action = cmp.get("c.seaAcc");         action.setParams({ "s" : myName });         action.setCallback(this, function(response) {             var state = response.getState();             if (state === "SUCCESS") {                 cmp.set("v.account", response.getReturnValue());                 //alert("From server: " + response.getReturnValue());             }         });         $A.enqueueAction(action);     },      accountselected : function(cmp, evt) {        console.log(evt.currentTarget.getAttribute("data-recId")) ;     }  })   Child component -   &lt;aura:component &gt;     &lt;aura:attribute name="selectedaccount" type="String"/&gt;     &lt;div&gt;Id: {!v.selectedaccount}&lt;/div&gt; &lt;/aura:component&gt; I understand that faster-than-light communication is impossible when making single measurements, because the outcome of each measurement is random. However, shouldn't measurement on one side collapse the wave function on the other side, such that interference effects would disappear? Making measurements on "bunches" of entangled particles would thus allow FTL communication, by making observed interference effects appear or disappear. How does such an experiment not:  1) Clearly imply that faster-than-light communication is possible?  or  2) (if #1 is rejected) Imply that measurement of one half of an entangled pair does not cause the collapse of the other half's wave function.  Why doesn't this thought experiment clearly show that if we maintain that FTL communication is ruled out, we must also rule out "universal collapse" in the Copenhagen interpretation?  EDIT: Here is an example of an explicit experiment (though I think experts could come up with something better):  You can entangle a photon with an electron such that the angle of the photon is correlated with the electron's position at each slit of a double slit experiment. If the photon is detected (it's outgoing angle measured), then which-path information is known, and there is no interference. If the photon is not detected, the interference remains.   The experiment is designed such that the photon and electron go in roughly opposite directions, apart from the tiny deflection which gives which-path information. You set up a series of photon detectors 100 ly away on one side, and your double slit experiment 100 ly away in the opposite direction. Now you produce the entangled pairs in bunches, say of 100 entangled pairs, each coming every millisecond, with a muon coming between each bunch to serve as a separator.   Then the idea is that someone at the photon detector side can send information to someone watching the double-slit experiment, by selectively detecting all of the photons in some bunches, but not in others. If all of the photons are detected for one bunch, then the corresponding electron bunch 200 ly away should show no interference effects. If all of the photons are not detected for one bunch, then the corresponding electron bunch 200 ly away would show the usual double-slit interference effects (say on a phosphorus screen). (Note that this does not require combining information from the photon-detector-side with the electron-double-slit side in order to get the interference effects. The interference effects would visibly show up as the electron blips populate the phosphorus screen, as is usual in a double-slit experiment when which-path information is not measured.)  In such a way the person at the photon detectors can send '1's and '0's depending on whether they measure the photons in a given bunch. Suppose they send 'SOS' in Morse code. This requires 9 bunches, and so this will take 900 milliseconds, which is less than 200 years. The point is that such an experiment would only work if you assume that the measurement of the photon really does collapse the wave function nonlocally.