Is there a tool similar to spotlight search in OS X for Ubuntu? (specifically Ubuntu 12.04)
What are the alternatives to OS X's Spotlight?
Determine device (iPhone, iPod Touch) with iOS Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch, if possible. Well, just another idea came up into my mind and i have no idea how to solve it :D Is there infinitely many prime numbers, which are not repunits and their inverse is also prime? (For example, inverse of 31 is 13 which is also prime. i didn't have any other name to describe the function!) P.S:I now know they are called s. Playing a remote movie on the remote computer I have two computers (a desktop and a laptop) running linux connected to my local area network. I like to ssh from my laptop over to my desktop and run programs there, and sometimes listen to music on my desktop, which is connected to my stereo system. Lately, I've been wanting to play movies on the desktop and desktop screen, but cue them from my laptop across the room.   Unfortunately, I cannot play a movie in the current X session running on my Desktop on from my laptop. What is odd about this is that I can listen to the audio coming from the speakers that are hooked up to my desktop, by playing the audio files over ssh! This tells me that there must be a way to send the movie to that Xsession, from the ssh shell that I am connected to.  Does anyone have any ideas about this? Visa for transit in Seoul How do I make a bootable USB from Windows? Definition of textbook RSA How can I identify what application is using a given file? Some images shown outside of preview rectange Some images shown outside of preview rectange before uploading, eg: hello everyone I have a little problem, how do I bring up the menu in the circle? when I select another object the menu becomes non-existent In school, I have always seen sets. I was watching a video the other day about functors, and they started talking about a set being a collection, but not vice-versa. I also heard people talking about classes. What is their relation? Some background would be nice.   It has to do with something called Russell's paradox, but I don't know what that is.   I think that the difference between a family and a set is that the former is a function and the latter is a set. Is this right? How to simulate a rope? I'm trying to simulate a rope (that later might get pulled on the ends*) that interacts with some obstacles. So far I created a plane as the floor and a cube as an obstacle, and activated "collision" in the physics menu for both of them.   *(In the end the goal is simulating a .)  For modelling the rope, I tried using a long cylinder with enough subdivisions, and activate "cloth" in the physics menu. This resulted in the cylinder collapsing like a sleeve of a sweater, but I would like the cross section to remain roughly circular. Is there a way to directly avoid this?   Another approach I tried now was just using a a line made up of vertices and edges (with the idea of later adding modifiers to give it a thickness), but this just fell through all the collision objects as it has no faces. Is there good way to do this? Placing finger twice on Finger Scanner on iPhone 6 plus changes view "None" as plural indefinite pronoun Flash with Chromium or Google Chrome broken on Ubuntu 19.04 I tried loading Adobe Flash player in Chromium on Ubuntu 19.04 (Lubuntu in this case) using various answers on AskUbuntu.com. I get to the point where the Allow Flash popup happens. But when I click to allow it, it says "Right-click to run Adobe Flash Player". When I rightclick and choose Run this Plugin, nothing happens. I've tried to apply fixes using the Pepperflash technique, as well as the Adobe Flashplugin technique. How do programmatically create fields for content types, and ADD them to the the content type form Say I have this field, "map_description". I know I would this function to define the field:   $field = array(   'field_name' =&gt; 'map_description',   'cardinality' =&gt; 1,   'type' =&gt; 'text', ); field_create_field($field);   And I have this code which I'm not sure what it does but I'm told that I'll need it:   $instance = array(     'field_name' =&gt; 'map_description',     'label' =&gt; 'The map description.',     'bundle' =&gt; 'my_content_type',     'entity_type' =&gt; 'node',     'widget' =&gt; array(     'type' =&gt; 'text_textfield',  );  field_create_instance($instance)   Those two code bits are both in my install hook and run when I install the module. But while the fields are in fact created, I have to manually assign them to the content type via "manage fields", is there a way to have the fields automatically assigned to the content type? Why does my user number show up in the search box when clicking my profile information? Execute a command once per line of piped input? I want to run a java command once for every match of ls | grep pattern -. In this case, I think I could do find pattern -exec java MyProg '{}' \; but I'm curious about the general case - is there an easy way to say "run a command once for every line of standard input"? (In fish or bash.) After a reinstall of Ubuntu 12.04 ,it's impossible to install commercial games, e.g Oil Rush. It gives this error:  Failed to fetch https://private-ppa.launchpad.net/commercial-ppa-uploaders/oilrush/ubuntu/dists/oneiric/main/binary-amd64/Packages  The requested URL returned error: 401 Failed to fetch https://private-ppa.launchpad.net/commercial-ppa-uploaders/oilrush/ubuntu/dists/oneiric/main/binary-i386/Packages  The requested URL returned error: 401 Some index files failed to download. They have been ignored, or old ones used instead.   I bought these games in 11.10, but I installed these games in 12.04 before... How can I solve this problem? Generalized Fresnel integral $\int_0^\infty \sin x^p \, {\rm d}x$ I am stuck at this question. Find a closed form (that may actually contain the Gamma function) of the integral  $$\int_0^\infty \sin (x^p)\, {\rm d}x$$  I am interested in a Laplace approach, double integral etc. For some weird reason I cannot get it to work.   I am confident that a closed form may actually exist since for the integral:  $$\int_0^\infty \cos x^a \, {\rm d}x = \frac{\pi \csc \frac{\pi}{2a}}{2a \Gamma(1-a)}$$  there exists a closed form with $\Gamma$ and can be actually be reduced further down till it no contains no $\Gamma$. But trying to apply the method of Laplace transform that I have seen for this one , I cannot get it to work for the above integral that I am interested in.   May I have a help? I'm somewhat new to using logistic regression, and a bit confused by a discrepancy between  my interpretations of the following values which I thought would be the same:    exponentiated beta values  predicted probability of the outcome using beta values.    Here is a simplified version of the model I am using, where undernutrition and insurance are both binary, and wealth is continuous:  Under.Nutrition ~ insurance + wealth   My (actual) model returns an exponentiated beta value of .8 for insurance, which I would interpret as:     "The probability of being undernourished for an insured individual is .8 times the probability of being undernourished for an uninsured individual."   However, when I calculate the difference in probabilities for individuals by putting in values of 0 and 1 into the insurance variable and the mean value for wealth, the difference in undernutrition is only .04. That is calculated as follows:   Probability Undernourished = exp(β0 + β1*Insurance + β2*Wealth) /                              (1+exp(β0 + β1*Insurance + β2*wealth))   I would really appreciate it if someone could explain why these values are different, and what a better interpretation (particularly for the second value) might be.     Further Clarification Edits As I understand it, the probability of being under-nourished for an uninsured person (where B1 corresponds to insurance) is:  Prob(Unins) = exp(β0 + β1*0 + β2*Wealth) /               (1+exp(β0 + β1*0+ β2*wealth))   While the Probability of being under-nourished for an insured person is:  Prob(Ins)= exp(β0 + β1*1 + β2*Wealth) /            (1+exp(β0 + β1*1+ β2*wealth))   The odds of being undernourished for an uninsured person compared to an insured person is:  exp(B1)   Is there a way to translate between these values (mathematically)? I'm still a bit confused by this equation (where I should probably be a different value on the RHS):  Prob(Ins) - Prob(Unins) != exp(B)   In layman's terms, the question is why doesn't insuring an individual change their probability of being under-nourished as much as the odds ratio indicates it does?  In my data, Prob(Ins) - Prob(Unins) = .04, where the exponentiated beta value is .8 (so why is the difference not .2?)