The "Save" under "File" and "Undo" under "Edit" do not work in Mathematica 10.0
Annoying FrontEnd bugs in Mathematica 10
Select values that meet different conditions on different rows? This is a very basic query I can't figure out....  Let's say I have a two column table like this:  userid  |  roleid --------|--------    1    |    1    1    |    2    1    |    3    2    |    1   I want to get all distinct userids that have roleids 1, 2 AND 3.  Using the above example, the only result I want returned is userid 1.  How do I do this? "Z-level" in TikZ I want to run a script on all files with two specific extensions on a disk with a hierarchy of multiple nested folders.  My script works fine when I choose a folder further down the line with fewer subfolders but I'd like to run it on an entire archive with over a thousand folders.  The AppleScript takes forever to get all the files and then exits without returning anything and without executing the operations after getting the files.  No timeout message, no error message.  And the Finder becomes unresponsive (and remains stuck after the script exits).   set myFolder to choose folder with prompt "Choose a folder:"     tell application "Finder"         try             set eafFiles to (every file in entire contents of myFolder whose name ends with ".eaf") as alias list         on error             try                 set eafFiles to ((every file in entire contents of myFolder whose name ends with ".eaf") as alias) as list             on error                 set eafFiles to {}             end try         end try         try             set pfsxFiles to (every file in entire contents of myFolder whose name ends with ".pfsx") as alias list         on error             try                 set pfsxFiles to ((every file in entire contents of myFolder whose name ends with ".pfsx") as alias) as list             on error                 set pfsxFiles to {}             end try         end try         set myFiles to eafFiles &amp; pfsxFiles     end tell      repeat with CurrentFile in myFiles         set CurrentFile to CurrentFile as string          do shell script "perl /path/to/perl/script.pl " &amp; quoted form of CurrentFile     end repeat Quarks in a hadron: where does the mass come from? When has Wonder Woman died? I know Wonder Woman has died in canon before, but in which issue did this happen? I want to construct a field with $125$ elements. My idea is to consider the polynomial ring $\Bbb F_5[x]$. It is enough to find an irreducible polynomial $f\in \Bbb F_5[x]$ of degree $3$ because then $\Bbb F_5[x]/(f)$ is a field with exactly $5^3=125$ elements.  How do I find an irreducible polynomial of degree $3$ in $\Bbb F_5[x]$? Fake induction proofs Geiger and Marsden's experiment led Rutherford to believe that the positive charge and most of the mass of the atom was concentrated in a small region. I understand what led him to conclude the way the positive charge is positioned in the atom. But how did he conclude that most of the mass was in a small region (the nucleus)?  How did the distribution of the mass matter after all? Given that the electric force is greater than the gravitational force by many magnitudes, the force between the positice charge and the electrons was predominantly electric.   So how did Rutherford conclude that most of the mass is in the nucleus? Boggle: What is the dice configuration for Boggle in various languages? This is the dice configuration for the English Boggle:  Other variants and discussions concerning letter distributions for English can be found here:  , , ,  (Wikipedia).  I am interested in the 16 dice configurations for also other languages (Spanish in particular) and I am unable to find it anywhere online.  Versions I have managed to find so far:  ,  English 25 dice version:   Spanish 25 dice version:   Italian 25 dice version: Customizing tray/taskbar date display in Ubuntu with GNOME 3 Can you attach a UIGestureRecognizer to multiple views? This may sound like a 'first world problem', but I am quite easily distracted by the 'Hot Network Questions' sidebar, as I find them quite amusing and some of them quite intellectual  But where the problem lies is that, even at work, if I google something up and find a solution on Stack Overflow, to some random problem I am working at, I (always) get distracted towards them (Hot Network Questions), and end up reading the whole Qs as well as As of that respective question, and this is adversely affecting my productivity.  Any suggestion would greatly help. C++ guarantees that variables in a compilation unit (.cpp file) are initialised in order of declaration. For number of compilation units this rule works for each one separately (I mean static variables outside of classes).  But, the order of initialization of variables, is undefined across different compilation units.  Where can I see some explanations about this order for gcc and MSVC (I know that relying on that is a very bad idea - it is just to understand the problems that we may have with legacy code when moving to new GCC major and different OS)? Some questions might be asked on three different sites, each site needing three different answers. For example, a question about a text editor.  So perhaps there should be a way to link the questions on the three different sites. Adding a link manually in the questions is certainly possible, but perhaps a feature officially supporting this will be beneficial. Do the following negations mean the same thing? I don't think you understood me. / I think you misunderstood me.    Do these senteces mean the same thing? If not, what's the difference?  Edit: I just realized that I asked something different from what I originally wanted. So I am also interested in the following comparison:     I don't think you understand me. / I think you don't understand me. Why is CBS.log file size 20 GB Direct proof that nilpotent matrix has zero trace Prevent parameter expansion in shell script I often have to do a recursive search in files. Tired of typing the whole "find/grep" combination all the time, I just created a script with the following line:  find . -name $1 -exec grep $2 {} + 2&gt;/dev/null   The idea is that I should be able to run it as, for example:  myfind '*' hello   The problem is, when '*' gets passed into the script, the script is expanding it to each file in the directory.  I tried putting a quote around $1:   find . -name '$1' -exec grep $2 {} + 2&gt;/dev/null   However, this turns $1 into a literal string.  Would appreciate your help in finding the right syntax. Must be something simple that I am missing. I want to write several classes, most of them will use KOMA classes as base class.  However I stumbled upon the problem that some options (mainly concerned with layout) are not processed if given in the wrapper class:    \begin{filecontents}{test.cls}     \ProvidesClass{test}[2015/01/01]     \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}     \ProcessOptions\relax     \LoadClass[paper=a5]{scrartcl}   \end{filecontents}  \documentclass{test}  \usepackage{blindtext}  \begin{document}   \section{Test}   \blindtext \end{document}   This results in   LaTeX Warning: Unused global option(s):     [paper=a5]  If i give the option as \documentclass[paper=a5]{test} it is used correctly, because I pass the options to scrartcl. However I want to change the defaults for the layout.   How can I achieve this? Possible Duplicate:          I'm working on a website that displays distance to various locations to the nearest 1/10 mile. One of the developers (a non-native speaker) asked me an interesting question: If the distance is 1.0 mile(s), is that singular or plural? Clearly, anything other that 1.0 is plural, but is it:     1.0 miles away   or     1.0 mile away   The first option sounds more correct to my ear, but the voice of my elementary school language arts tells me that the latter option is correct.  Edit: Added the word 'away' to the example. It doesn't change the question, but might provide clarity for the answer. Also, regarding numbers between 0 and 1, after more thought, I'm not sure that the answer is as clear as I originally thought. See .