In notification panel, I have a notification that says "Instal/update Google Play Services" (or so).  How can I solve this problem?
I have recently installed a custom ROM and cannot find the Play Store. It seems like all apps that belong to Google are missing.  How can I install the Google Apps Package (Play Store, ...) on my Android device?
What's the best order to read HP Lovecraft's novels? I've always been interested in the Cthulhu mythos and I wanted to get into HP Lovecraft's books. What is the best book to start with? I know that Cthulhu was first mentioned in Lovecraft's Call of Cthulhu in 1928. Is that the best book to start with? Should I just start reading Lovecraft's books from his first publication onward? QT MySql connectivity using Windows XP, Qt Creator 4.5.2(windows 32 bit) What is the command to remove all files but not directories? Let's say I have a directory tree like this:  FOLDER:     file1     file2     file3     Subfolder1:         file1         file2     Subfolder2:         file1         file2   If I used rm -r FOLDER/*, everything in FOLDER would be deleted including sub-directories. How can I delete all files in FOLDER and in its sub-directories without deleting actual directories? Numpy installation? I used VIRTUALBOX to install Ubuntu 12.04 on my windows pc. I used apt-get to install Python 2.7 that shipped with 12.04. I followed the directives I saw on this site to install Numpy, Scipy, Matplot all failed. I download tar source file of these modules. How do I install them manually? Someone pls help, I'm getting frustrated. My book says:     For most of the small objects, both are same. But for mammoth ones, they are really different ones. And in a gravity-less environment, COG is absent; COM still exists.   Ok, what's the big deal when things are small and big? How these two :  &amp; ? How to get a file's Media Type (MIME type)? Calculate posterior distribution (gamma-prior, poisson-likelihood) I want to calculate the posterior distribution given a gamma-prior and a poisson likelihood. The task is from a textbook and I just have the solutions (without a walkthrough). Please find all given information in the following:  Given information:  $m$ countries each with a population of $n_i$; $y_i$ is the number of people having a disease; $y_i$ is a poisson random variable with mean $\frac{n_i*\lambda}{100}$  The prior distribution for $\lambda$: $\lambda \sim Gamma(a_0,b_0)$  Task:  Show that the posterior distribution is also a gamma distribution with $a_m = a_0 + \sum_{i = 1}^{m}y_i$ and $b_m = b_0 + \sum_{i = 1}^{m} \frac{n_i}{100}$  My solution:  $Posterior \propto Likelihood \times Prior$  $p(\theta|y) \propto \prod_{i=1}^{m}(\theta^{y_i}e^{-\theta})\times \theta^{a_0-1}e^{-b_0\theta}$  $p(\theta|y) \propto \theta^{\sum_{i = 1}^{m}y_i}e^{-m\theta}\times \theta^{a_0-1}e^{-b_0\theta}$  $p(\theta|y) \propto \theta^{\sum_{i = 1}^{m}y_i+a_0-1}e^{-\theta(m+b_0)}$  $a_m = a_0 + \sum_{i = 1}^{m}y_i$  $b_m = b_0 + m \neq b_0 + \sum_{i = 1}^{m} \frac{n_i}{100}$  I think I am doing a mistake, because I don't know how to incorporate the information that the mean of $y_i$ is given as $\frac{n_i*\lambda}{100}$. Or do I just have to transform $b_m$ somehow? Can someone may give me a hint?   Thank you already in advance!  Edit 1: Considering first advices  $Likelihood: p(y | \theta) \propto \prod_{i=1}^{m}(\frac{n_i\lambda}{100})^{y_i}e^{-\frac{n_i\lambda}{100}}$  $\propto \prod_{i = 1}^{m} ((\frac{n_i}{100})^{y_i})\lambda^{\sum_{i=1}^{m}y_i}e^{-\lambda\sum_{i=1}^{m}\frac{n_i}{100}}$  $\propto \lambda^{\sum_{i=1}^{m}y_i}e^{-\lambda\sum_{i=1}^{m}\frac{n_i}{100}}$  Is the transformation of $\prod_{i=1}^{m}$ I did from the first to the second step correct? GET and POST methods with the same Action name in the same Controller Convert date to another timezone in JavaScript I want to make it so I always have 50 entities in an area. So when 1 dies/despawns/leaves the area I want it to detect that and summon in a new entity, and yes I do want them to die/despawn/leave the area so preventing those things is not an option. How to provide translations for a WordPress TinyMCE plugin? I know that I can get my translations into JavaScript doing:      $MyTranslations = array(         'translation1' =&gt; __("Some String 1", "MyTranslations"),         'translation2' =&gt; __("Some String 2", "MyTranslations")     );     wp_localize_script( 'jquery', 'my_translations', $MyTranslations );   But looking at some of WordPress TinyMCE plugins they use calls like this:  { title : ed.getLang('advlink.link_desc'), ... }   How is WordPress getting their translations into getLang()? Am I supposed to do it this way or do I just use my first bit of code and access the variables directly like:  { title : my_translations.translation1, ... } How does IPv4 Subnetting Work? Over time I realized a very annoying property of the Stack Overflow reputation system: Easy answers to popular question are rewarded with a lot more reputation points than actually great answers. In case anybody actually needs examples for this, here are two examples from :   gained me 420 rep, I invested 2 minutes writing it, and it only was a wild guess.   took me about an hour for the research and the math and gained me 40 rep.  Now I know that you are bound to get more rep for answers that are useful to more people, and I'd say that's fine. But the current situation is quite extreme: 30% of my reputation is from 5 of my 330 answers, and they are definitely far from being my best ones.  A final example that is not from my profile, but more extreme: Do you really think  is worth 40000 reputation?  My proposition to improve that situation would be to make the reputation gain from a single answer non-linear, maybe even have it capped at a certain point. I'm not sure on how that non-linear function should look exactly, and would leave good proposals for that to users with more experience than me. Skins that cannot be in mystery gifts? Yesterday I had a discussion with some of my friends while playing league. It was about the contents of the mystery gifts and while I said there are restrictions, they were convinced that you can get absolutely every skin from a gift (including victorious, and really old ones).  Now while I'm pretty sure that there are restrictions (Triumphant ryze for example), I'm not really sure on which skins they affect.   What about the victorious, riot, legacy, pax and completely removed skins (Rusty BC, Black Ali, Urf WW)? Can you get those with a mistery gift or is it impossible to get those right now? Proficiency with specific weapons vs 'simple and martial'? In the PHB on pg. 146 it states that there are two weapon categories in which the players can be proficient: simple and martial.  As per  answer to another question, being proficient in either category makes the players character proficient in using all weapons of the respective category.   However in the race descriptions the players are given proficiency for specific weapons. Dwarfs, for example, have the trait Dwarven Combat Training giving proficiency with battleaxes, handaxes, throwing hammers and warhammers.   How do the two types of proficiencies interact with each other? Short story with aliens who hear their own thoughts as god-like voices I would have read this about 20-25 years ago.  I believe the subject was an alien individual, but it could have been a non-standard human instead.  The hook of the story was that the subject lacked an organ like the  that allows the halves of the brain to communicate efficiently, allowing the illusion of a single consciousness.  The subject is conscious, and has thoughts, but is subject to hearing commands like "Wash your hands!" "Fetch water!" within its head.  I recall the subject (and others like the subject) believing that the voices are their gods talking to them.  To the reader it becomes clear that this is a separate part of the subject's own mind that is responsible for long-term planning and simply can't communicate with the rest of the mind in the way a "normal" human is accustomed to. Automatic image format detection in PHP I am looking for a way to take a user uploaded image that is currently put in a temporary location ex: /tmp/jkhjkh78 and create a php image from it, autodetecting the format.  Is there a more clever way to do this than a bunch of try/catching with imagefromjpeg, imagefrompng, etc? Why can't a class extend its own nested class in C#? For example:  public class A : A.B {     public class B { } }   Which generates this error from the compiler:     Circular base class dependency   involving 'A' and 'A.B'   I always figured a nested class behaved just like a regular class except with special rules concerning accessing the outer class's private members, but I guess there's some implicit inheritance occurring between the two classes? How to make an image center (vertically & horizontally) inside a bigger div How to run find -exec?