Installing Ubuntu for phones onto a Moto G 4G LTE
How do I go about porting Ubuntu Touch to different devices?
Show that the rings $2\mathbb{Z}$ and $3\mathbb{Z}$ are not isomorphic. Zero visitors? What happened to site analytics about a week ago? This is the views section of the site analytics visible to 25k users on one of my sites:    That's, uh, not correct.  Our site has had its usual activity level during this time.  I checked a couple other sites, and the pattern is consistent.  This looks like a problem in the analytics data that's coming in; did Google change their API?  Update: Same site a week later; note that in addition to the brief spike of accuracy, page views have dropped to (near-)zero for the whole period, unlike the earlier report.  (I know this question has been closed as a dupe, but I thought having the two screen shots together might help somebody.) Line breaks in listings Is there a way like wrap the line after at most 60 letters but it should not break inside some commands like listings does?  Example:      \documentclass[a5paper]{article}     \usepackage[T1]{fontenc}     \usepackage[utf8]{inputenc}     \usepackage{listings}     \usepackage{xcolor}      \lstset{%       language=[LaTeX]TeX,       backgroundcolor=\color{gray!25},       basicstyle=\ttfamily,       breaklines=true,       columns=fullflexible     }      \begin{document}     \begin{lstlisting}     The roadrunner is the fastest running bird \remark{Check this again with a zoologist!}.     \end{lstlisting}     \end{document}   Output:      The roadrunner is the fastest running bird         remark{Check this again with a zoologist!}.   That should not happen! In my eyes this problem is not discussed in . There are n letters addressed to n eople at different addresses. The n addresses are typed on n envelopes.  A disgruntled secretary shuffles the letters and puts them in the envelopes in random order, one letter per envelope.  Find the probability that at least one letter is put in a correctly addressed envelope. [Hint: use the inclusion-exclusion formula.] What is the probability approximately, for large n ?    My attempt at a solution:  P(all correct) = $\frac{1}{n!}$  P(n-1 correct) = ${n \choose n-1} \frac{1}{n!} = \frac{1}{1!(n-1)!}$  ${n \choose n-1}$ ways of selecting n-1 correct letters.  P(n-2 correct) = ${n \choose n-2} \frac{1}{n!} = \frac{1}{2!(n-2)!}$  ...  P(n-n correct) = ${n \choose n-n} \frac{1}{n!} = \frac{1}{n!(n-n)!} = \frac{1}{n!}$  This all looks ok to me, but I tested this for a case of 4 people, (I think the theoretical value should be $\frac{9}{24}$ but obviously that is not what I got. Can someone correct my logic please? Also, with regards to the hint about inclusion/exclusion - where would that come in?  I read about derangements on Wikipedia but it did not make total sense to me (the derivation).  I would appreciate any advice whatsoever including references to other material. example of a non differentiable manifold Take the manifold: The graph of $|x|$ on $(-1,1)$, with the induced topology from $\mathbb{R}^2$. This is a topological manifold, which is homeomorphic to $(-1,1)$ by projection. Is it a differentiable manifold? I believe it is, because we can take an atlas with only the projection, and then we will have only one transition map which is the identity, and therefore differentiable. But I'm not sure I get the definition of a differentiable manifold right...  Thanks! Windows Activation FAQ: How do language, version, 64-bit or 32-bit, and source affect ability to install and transfer Windows licenses? We get a lot of questions on Super User about Windows activation and licensing. This question is an attempt to answer the most common questions in one place with a .   When reinstalling Windows, the following questions often come up:   Can I transfer the copy of Windows from my old computer to a new one? Does the license key on the sticker on my computer work on any computer? If I have a 32-bit version, can I install a 64-bit version? I have an OEM version of Windows, but only a retail disk. Can I still use it? I want to install Windows with a different language. Do I need a new license in that language? I changed some hardware. Will I be able to reactivate my computer? Can I back up my activation before doing a reinstall? How many computers can I install my license on? Do I have to deactivate my old installation before transferring a license? If so, how? How does licensing work in Windows ? What are the restrictions on transferring, reinstalling, and changing versions of Windows? Is "You are correct" correct? It seems to me that "You are correct" means that the person in question is supposedly "correct" in their quiddity. "That is correct" or "You are right" seems a lot better.  I also would like to know if someone is using correct(ly) correctly, as to correct someone who is potentially using correctly incorrectly. Using property() on classmethods I have a class with two class methods (using the classmethod() function) for getting and setting what is essentially a static variable.  I tried to use the property() function with these, but it results in an error.  I was able to reproduce the error with the following in the interpreter: class Foo(object):     _var = 5     @classmethod     def getvar(cls):         return cls._var     @classmethod     def setvar(cls, value):         cls._var = value     var = property(getvar, setvar)  I can demonstrate the class methods, but they don't work as properties: &gt;&gt;&gt; f = Foo() &gt;&gt;&gt; f.getvar() 5 &gt;&gt;&gt; f.setvar(4) &gt;&gt;&gt; f.getvar() 4 &gt;&gt;&gt; f.var Traceback (most recent call last):   File &quot;&lt;stdin&gt;&quot;, line 1, in ? TypeError: 'classmethod' object is not callable &gt;&gt;&gt; f.var=5 Traceback (most recent call last):   File &quot;&lt;stdin&gt;&quot;, line 1, in ? TypeError: 'classmethod' object is not callable  Is it possible to use the property() function with @classmethod decorated functions? How can I find the source of a mysterious bad smell? We have recently moved home, and all is fine appart from a mystery smell which I'm unable to track down. It's driving me crazy (actually, my wife thinks I am crazy as she can't smell it).  I'm hoping someone on here could offer some tips on how to track it down, or what it might be.  Here's some info:  Background: The house is a two floor (plus basement) block/concrete construction.  There is a wide hallway on the groundfloor connecting the rooms (including kitchen, toilet/shower room, stairwell).  The stairs are wood-board on concrete.  The floor in the hall and kitchen  is tiles over concrete, the rest woodblock/parquet over concrete.  Location of the smell: I usually smell it when coming down the stairs, seems to be strongest about half way down.  However sometimes it doesn't smell on the stairs at all, but rather in the ground floor hallway.  Seems to move around quite a lot. Occasionally I have felt it upstairs, but assume this is it drifting. The basement smells fine.  The Smell: The best description of the smell I can give is something like old rubbish.  What I've investigated so far:  1) Something died somewhere?  This was my initial thought, and since I usually notice the smell on the stairs I thought I'd try there first.  I've taken up some of the wood on the stairs (not all yet) but not looking promising, as there really isn't much space between the wood boards and the concrete.  Not really sure where else something could have gotten, as everything seems to be tight against the concrete.  2) Smell from kitchen moving into rest of house? I never really detected a bad smell in the kitchen, but thought I'd rule it out anyway. I thought maybe it was the bin under the kitchen sink that might be causing it.  So I moved the bin to a small storage room at the back of the kitchen (and kept the door closed) and thoroughly cleaned inside the cupboard under the sink. No change.  I also looked behind all of the cabinets for a problem, but could not see anything.  3) Gas from drains? The sink doesn't smell in the kitchen, and it's got a P-bend trap on the pipe - so I can't see a problem there.  Cant detect a smell from the plugholes in the bathroom either.  The bathroom sink waste pipe has a bottle-trap on it.   Don't know if there is a trap on the shower as it's a sealed unit, but I'm guessing yes (and can't smell anything).  Can any one think of something I might have missed, or give any advice? View revision history on mobile site It looks like it's currently not possible to view the revision history of a post from the mobile site. I think it would be a lot simpler than loading the desktop site on a phone just to get the revision history. CSV API for Java Can anyone recommend a simple API that will allow me to use read a CSV input file, do some simple transformations, and then write it.  A quick google has found  which looks promising.  I just wanted to check what others are using before I couple myself to this API. From yesterday, openweather extention on the top panel does not show the weather. Its shows "Please wait Loading".  I tried to find the solution. There was a post of creating account on openweather website and use API id. I found that it is a subscription base plan. There was a free plan which allows 60 calls free for weather data.  I thought that the extention is open source. And may be I deleted any package that is required to work the extention so I reinstall the OS. But there is no difference of doing that.    What could possibly go wrong any guidance? Identify geographic location to points I am quite new in QGIS and I really need your help.  I have a map of Kenya divided into 68 districts and I have coordinates of 30.000 schools. The points have one variable besides the latitude and longitude data called "distance to nearest school".   First I imported the map. Then I imported the spreedsheet and transformed it to a SHP file like the map. So now I have two SHP files.    The points have three variables: "Latitude", "Longitude" and "Distance to nearest school". I want to have a fourth variable called "District" and take the mean of the "Distance to nearest school" for each district. I make homemade cayenne pepper sauce every year. I do add some liquid pectin to slightly thicken it so it will stick to food rather than roll off. After a month or so on the shelf it seems to separate a bit. What can I add to this so that it won't or is there a method I can do to stop this. We are slowly working our way into marketing this product down the line and this won't work for that reason. We are using a water bath canning method, vinegar based, no sugar added. How to check if my eSATAp port provides 12V power? I have a Lenovo ThinkPad Edge 13" model 0217-2QG with eSATAp port.  How do i check if my port provides 12V power (enough to power a 3.5" HDD)? How does one find which files are taking up 80% of the space on a Linux webserver? The drive is constantly filling up. You've hunted down all the spare and random files you can. grep'd for coredump files and even removed some of the un-needed backups...  What would be your next move.  The actual server in question has 10GB of website files and the OS shouldn't take any more than 10GB so how do you track down what's filling a 50GB (virtual) drive? Can I use lens brand X on interchangeable lens camera brand Y? I've got some lenses of brand X, but I've just got a new camera of brand Y. How can I tell if it's possible to use my lenses on my camera? I accept that I may lose a lot of automatic functionality like autofocus, aperture control and metering when using an adapter to connect the two. Can a homomorphic encryption scheme be made CCA2 Secure? Is it possible to modify a homomorphic encryption scheme so that it can be CCA2 secure?  From the definition of a homomorphic scheme, it seems that it is malleable, which would result in lack of CCA2 security. So, if we use the regular method to convert a CPA secure scheme to CCA2 secure scheme (using a hash of the message and a random value), will it still preserve its homomorphic property? Please correct me if my understanding is wrong. This has been nagging me for a while and then I saw  asking what the difference is between variables and parameters. In the context of mathematics, what is the difference between  variables constants parameters arguments  I get 1. and 2. confused because, for example the general form of the quadratic function is often expressed $f(x)=ax^2+bx+c, a \neq 0$ and $x$ is the variable so what does that make a,b and c? I assume since math is so rigorous with precise definitions, these have one, but it is also a valid answer that as words they do not have a single precise definition. Suppose we have a ball floating in liquid A. Then we pour a liquid B on top of the ball (Assuming that the liquid is poured such that the ball doesn't oscillate) . The ball rises up. Why?  According to me, the liquid on top (liquid B) will exert a force downward on the ball and it should go lower. The particles in the liquid B will exert an normal force which is acting downwards on the ball. How can adding liquid B make it rise up, that is, provide an upward force?  Taking a specific case, density of B > density of ball > density of A   what would happen?