In The Force Awakens, Poe gives BB-8 the instruction to go as far away as possible. And BB-8 does. So far, so good. But then BB-8 meets Rey and is instantly attached to her, and she isn't able to shake him off. In the end, she just gives in and lets him go with her.  But why? What is BB-8's reasoning? I mean, even much later in the movie, when she takes a walk outside Maz's castle, she finds he's never more than a couple of paces behind her. So, why? What's going on between BB-8 and Rey?  Does he know something we don't?
Is it because Rey just saved BB-8 from a net, and then the droid just decides to follow her about - or is it for some other reason?  Does BB-8 have any idea who Rey is prior to being rescued by her?  Just wondering as she literally tells the droid to go elsewhere.
How to list all functions in a Python module? I have a Python module installed on my system and I'd like to be able to see what functions/classes/methods are available in it. I want to call the help function on each one. In Ruby I can do something like ClassName.methods to get a list of all the methods available on that class. Is there something similar in Python? eg. something like: from somemodule import foo print(foo.methods)  # or whatever is the correct method to call Clock time is off on dual boot Accidental chown under / as root I accidentally run the following command as root chown mike -Rf / backups the point is that I added a space between / and backups my mistake, I stopped the command after 1-2 seconds, how can I recover from this? I have problems with DirectAdmin right now for example when accessing it I recive the error:  Unable to determine Usertype user.conf needs to be repaired http://help.directadmin.com/item.php?id=456   Or I stopped recieving emails, I dont even know what else is messed up right now... My trackpad is broken so I can tap-to-click but i cannot drag and drop. This is really a problem when it comes to doing certain things.   Does anyone know how to program a sticky key to turn a click into a click-select that can then be dragged about?   I can't resize my browser or open window and I can't drag applications into the folder when installing etc.  free solutions only please.  A mid 2009 macbook-pro 13". 2.53 Ghz Intel Core 2 Due.   Running os lion (grudgingly). I meet with term 'empty function' from time to time. It's high time to understand its nature. What is field( set of arguments) and what is image? ( set of value)? Regular expression to match balanced parentheses I need a regular expression to select all the text between two outer brackets.  Example: some text(text here(possible text)text(possible text(more text)))end text  Result: (text here(possible text)text(possible text(more text))) Can someone tell me what's wrong with this? because i can't figure out where the missing \right( is.  \begin{equation}  \begin{split} Μ=&amp;-\pi \rho \frac{c^{2}}{4}    \left[c\left(\frac{α}{c}-\frac{1}{2}\right)\ddot{h}+Uc\left(\frac{3}{4}-     \frac{α}{c}\right)\dot{\alpha} +\frac{c^{2}}{4}\left(\frac{9}{8}+      \frac{4α^{2}}{c^{2}}-\frac{4α}{c}\right)\ddot{\alpha} \\  &amp;-\left(\frac{4α}{c}-1\right)U C(k) \left(-\dot{h} +U\alpha + c \left(\frac{3}{4}-\frac{α}{c}\right)\dot{\alpha}\right)\right]  \end{split} \end{equation} GeoServer cutting off symbols close to tile edges? What to write in visa application form and what documents to submit as an unregistered freelancer? There are many visa applicants who are working as an unregistered freelancer (photographer, construction contractor, fashion designer, journalist etc ). Some of these freelancers make really handsome monthly income and don't really need to work as a full time employee. Most of them receive variable amount of payments (cash, cheques, demand drafts etc) When it comes to filling a visa application form (USA, UK, Schengen etc), there is always an employment section in all visa form, eg for Schengen visa employment form :    This is a very important factor to make an application really strong.  Questions:   1 Unregistered freelancers can just simply write their profession? what documents to produce along with the application?  2 Bank statements with variable methods of payments could convince the visa officer that these are all legitimate payments? What're the differences between PCA and autoencoder? Both PCA and autoencoder can do demension reduction, so what are the difference between them? In what situation I should use one over another? Condition on a,b and c satisfying an equation(TIFR GS 2017) Let $a,b,c$ be positive real numbers satisfying $$(1+a+b+c)\left(1+\frac{1}{a}+\frac{1}{b}+\frac{1}{c}\right)=16,$$ then $a+b+c=3$.  I thought about the application of the AM-GM-HM inequality, but in vain. I also thought about splitting 16 into factors and comparing but went nowhere. Any ideas. Thanks beforehand. Capturing speaker output in Java Here is a fun integral I am trying to evaluate:  $$\int_{0}^{\infty}\frac{\sin^{2n+1}(x)}{x} \ dx=\frac{\pi \binom{2n}{n}}{2^{2n+1}}.$$  I thought about integrating by parts $2n$ times and then using the binomial theorem for $\sin(x)$, that is, using $\dfrac{e^{ix}-e^{-ix}}{2i}$ form in the binomial series.  But, I am having a rough time getting it set up correctly. Then, again, there is probably a better approach.   $$\frac{1}{(2n)!}\int_{0}^{\infty}\frac{1}{(2i)^{2n}}\sum_{k=0}^{n}(-1)^{2n+1-k}\binom{2n}{k}\frac{d^{2n}}{dx^{2n}}(e^{i(2k-2n-1)x})\frac{dx}{x^{1-2n}}$$  or something like that. I doubt if that is anywhere close, but is my initial idea of using the binomial series for sin valid or is there a better way?.  Thanks everyone. Pixel RGB with ImageMagick and Rails I would like to use Zapf's Palatino font for the text in my document, which also includes a lot of maths. And I would like a good font for the maths. This is a snapshot of what I am doing.  \documentclass[10pt,letterpaper]{memoir} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathpple} \usepackage{upgreek} \usepackage{mathpazo} \usepackage{lipsum}  \begin{document}  \chapter{Demo}  Some regular text. \lipsum[1]  Now for some maths.  \begin{displaymath} P_{N-1 + m} = \frac{C}{N-{1} + m} \binom{N_{2} - N_{1}}{m}         \alpha^{m}\beta^{(N_{2} - N_{1}) -m} \end{displaymath}  The number 27 is the sum of the first 5 odd prime numbers: $27 = 1+3+5+7+11$  \end{document}   To me the text and math fonts seem a good fit but the text does not look like Palatino. Frequency of the sound when blowing in a bottle How can I move the top panel to the bottom in Gnome 3? Is there a way to move the top panel to the bottom in Gnome 3? It is very annoying to have this panel at the top, because then I have to aim for the close button when I want to close a window. When the panel is at the bottom, I can simply throw the mouse pointer to the corner. Big usability issue. What happens to a bounty question if it gets migrated? clearly belongs elsewhere, but the asker already put a bounty on the question.  If the question is migrated, does the rep get refunded? Does the question continue to be a bounty question on the target site if the user has enough rep? (The asker in the referenced question does not have any associated accounts, but I'm curious about what happens.)  Edit: I just tried to add my own close vote, but apparently you can't when there's an open bounty. However, a mod should still be able to close/migrate/etc. RGB and CMYK: Why both? Any of you who have at least little experience with graphic design software, photography or professional printing, must have -almost undoubtedly- have gone through this: 'the struggle' of RGB and CMYK colour spaces.  Now, there are many questions regarding matters of 'which should I choose', 'what is what' and converting problems, but that's not really what I'm after here.  As a graphic designer with only a couple of years of experience, I still have this struggle from time, and find the whole CMYK/RGB choosing/converting/saving situation quite confusing, to say the least. I do know that RGB is meant for digital end purposes, and CMYK is suitable for printing.  I have always been wondering about the neccesity of this whole thing. So, my question is: why are there these two colour profiles, instead of just having one?   Wouldn't it be a lot easier if printers or software could convert any RGB file to a CMYK printing document instead? I'm pretty sure it does already exist, by the way, because printing an RGB file sometimes simply prints the right colours for me. Alas, not always (doesn't seem to be related to the printer of software I print from).    I have gone trough some RGB vs. CMYK-related questions and found this, a.o., (), an answer of user DKuntz2 (thanks DKuntz2):     RGB is a light-based theory. All colors begin with black "darkness",   to which different color "lights" are added to produce visible colors.   RGB "maxes" at white, which is the equivalent of having all "lights"   on at full brightness (red, green, blue).      CMYK is a color-based theory. All colors start with white "paper", to   which different color "inks" are added to produce output colors. CMYK   "maxes" at black, at which point all "inks" are applied at 100% (cyan,   magenta, yellow, black).   Not sure if this is entirely right, though, because some people disagreed with DKuntz2:     I disagree. With RGB you start with black - the absence of light; with   CMYK you start with white paper.   – e100  Although this does clarify the differences fairly well, I still don't see the point of the two colour profiles(/spaces)    Side question: What happens when you work in an RGB document in photoshop, then press ctrl+y? Photoshop says the document is RGB/8/CMYK, but it can't be both. Right?  EDIT:  Big thanks for the answers, the (current) three below are very informative and interesting. I understand the whole thing a bit better, although it's all very complicated and in-depth to me. Especially when I read about terms like colour models, colour profiles, colour spaces, colour spectra and gamut all one after another.  As much as I would like to accept an answer as the desired one, I feel that my question in the core isn't fully answered yet. What I would really like to emphasize is what I asked about earlier: Wouldn't it be a lot easier if printers or software could convert any RGB file to a CMYK printing document instead?. As Alan Gilbertson explained, the reason is - if I understand correctly - basically a 'lost-in-translation' thing that makes the conversion not 100% accurate, and the colours to possibly be a bit distorted.  However, I still don't see how the solution cannot be an automated conversion done by a printer. Should be possible with modern technology; if you can convert RGB to CMYK in Photoshop, why can't a printer do the exact same for you? As was also said in the answers, the slightest differences in colours and colour spaces, can not be seen by the human eye. And that's what it all comes down to: what we want to see. Be it on a screen or on a sheet of paper.  The fact that this question has three very long answers, or even moreso the fact that there are so many questions about these two colour models (I now know the right term, yay) kind of proves that this is way more complicated than it should be. I have what seems to me a very simple proof that $A_{n}$ is the only subgroup of $S_{n}$ of index 2.  Since I've seen other people prove it with what feel like really complicated methods (), I'm wondering if I've overlooked something.  Proof: Let $H$ be any subgroup of index 2 in $S_{n}$.  Then $H\cap A_{n}$ is a normal subgroup of $A_{n}$ and since $A_{n}$ is simple, $H$ is either the trivial or the improper subgroup of $A_{n}$.  If it's the trivial subgroup it doesn't have index 2 in $S_{n}$, and otherwise the theorem is proved.