I am facing a weird problem. If I have just installed python 2.7.6 in addition to already present python 2.7.3.  But this is giving me some weird issues. Such as even though my system has pyqt4, python is complaining I don't have pyqt. When I am trying to run the following command in terminal, it is saying:   sudo apt-get install python-qt4   The module is already present. When I am typing the following command:  $which python /usr/local/bin/python   Which is python 2.7.6. I am really struggling now. Kindly help.
I am totally aware a question of similar nature is asked before. But the answer there is not doing any good for me.  I have installed python 2.7.6 in addition to system default 2.7.3. And now my system is screwed up completely. Now I want to remove the 2.7.6 and get back to my system default. update-alternatives command on python is not working!  I have installed the 2.7.6 by downloading source and triggering "config, make, sudo make install" commands.  Please help.
Why is document.write considered a "bad practice"? How to model this odd-shaped distribution (almost a reverse-J) My dependent variable shown below doesn't fit any stock distribution that I know of.  Linear regression produces somewhat non-normal, right-skewed residuals that relate to predicted Y in an odd way (2nd plot).  Any suggestions for transformations or other ways to obtain most valid results and best predictive accuracy?  If possible I'd like to avoid clumsy categorizing into, say, 5 values (e.g., 0, lo%, med%, hi%, 1). Do we really need a [source-code] tag? The  tag doesn't appear to be very useful.  It's used in a variety of ways (for reading, writing, showing, transforming, compiling, translating, obfuscating, obtaining, ... source code) on 1747 questions right now, and doesn't appear to be adding any classification value to the site.  Can we get rid of it? How did the phenomenon of doubling words come about? I am referring to phrases such as: "Do you like her, or do you like like her." Can someone provide an explanation of this? There are many more examples but none come to mind at the moment. This question has been answered before in many places but I just need some confirmation with my specific setup. I have Linux Mint installed and I just want a fresh Ubuntu 12.04 install to completely replace Mint. It's dual booted with Windows 7 and I want that to remain completely in tact.  Anyway, I'm currently running the Live CD installer. I've said I want to specify my own partitions and I'm at the following screen:     The list at the bottom expanded:     I confused by all the different partitions. Seems like I should just check the box beside sda5. But what about sda6? Do I just leave that alone?  Also just for confirmation, is the "right" way to replace Mint, or should I be deleting it first? How to favorite a question from Android app? I've found an interesting question when browsing Freelancers.SE. I've tried to star (favorite) the question but I couldn't find the option...  How to star a question from the Android app? Georeferencing vector PDF/SVG/DXF linework using QGIS? I want to  create a small web application to visualize election results on a per poll site basis for my city. The result is going to be very similar to what has been done for Berlin . Hopefully this helps in understanding what I'm going for.  The election raw data on the scale I need is published and I know how to visualize this on the grounds of a shapefile with separate polygons lining out the election districts. My problem is - as you could probably guess - that something like this doesn't already exist.  What actually is published though, is a PDF file lining out the borders of the districts I'm interested in:   I'm not keen on redrawing the linework myself, so I'm looking for a way to make a shapefile out of this. Luckily, the PDf includes the linework as separate vector objects, I extracted these into a SVG file:   I already tried converting the SVG to a DXF and importing it into qgis 2.0.1. This actually works, but (as expected) places the vectors in the atlantic ocean and I can't find a way to edit it and fix this.  What can I do now to georeference these vectors with open source tools and finally produce a shapefile? Let $U_1, \cdots, U_n$ be $n$ i.i.d continuous uniform random variables on $(0,1)$ and their order statistics be $U_{(1)}, \cdots, U_{(n)}$.  Define $D_i=U_{(i)}−U_{(i−1)}$ for $i=1, \cdots, n$ with $U_0=0$.  I am trying to figure out the distribution $\lim_{n\to\infty} \#\{i = 1, \cdots, n \mid nD_i \geq z\}/n$. This must be very well known, but I cannot find a reference. BJT in Reverse Active Mode of Operation What will happen if for a BJT transistor, it's emitter terminal is treated as collector and collector as emitter in a common emitter amplifier circuit? Identify a short story about post-apocalyptic household robots Media: Short story collection When I read it: 2011 but the story itself was much older (unsure how much) so this information only serves to clarify that it is by no means new. Plot summary: A futuristic home with household robots that help around the house (cooking, cleaning etc.), we learn about their routines and behaviour and later on it's revealed that nobody is home, in fact everyone is dead, and a description of the outside seems to imply post-nuclear apocalypse. Setting: I seem to remember snow or winter What it isn't: with Google I stumbled upon  by Ray Bradbury, and  is very similar, and the beginning made me think "Bingo!", but I do not remember there being a fire in the story I read, and I also remember a view from a briefly opened door, or window, of a snowy setting, so while it may be that I am confusing elements of another story, or my imagination, with There Will Come Soft Rains, I would still like to run this through here as a question, because I'm not convinced. Additional info: The short story collection had other short stories that I will include as I remember them, details will be fuzzy:   Meteor, by John Wyndham , by Charlotte Perkins Gilman A short story about a man who is driving a car and it is revealed in the end that he was dead the whole time , by Charles Dickens Why 'mkpasswd -m sha-512' produce different result every time it is called? I am using this function to create a password in the shadow file  $ mkpasswd -m sha-512 password $6$o50n4EfNOBzfs$K5l5AcOI5e0I9n2df0LmR11OLSPKSVM6AGBOnWVfDDfMubb46MrAj0zehdLNEoYzD2fj5q4XUdDwexj/dWLHy/ $ mkpasswd -m sha-512 password $6$ADmDOhDpW$gsYQuiKPpV1ewaUpRq2VGAvrcocffLQ8XGF94e6LNLZfKIjy6Ku.cZoR/5exeCi1ESjPB9TRM6HxCiY5BCNCV0 $ mkpasswd -m sha-512 password $6$Efj1agaI$HGkny3q1OTYT4KREh18gueHJae/3Bvil0iOEhfXj8bD.qy9Lg2UIQJMuBcq0XtG3xzueK.7cp0GfKr7tEo5YI/ $ mkpasswd -m sha-512 password $6$zdVPlCPai4Y$x3CBvlP99xZXZcr4PTiE..YLpZx39h5OHDxqazd9wFLImPuwsXF0M6KmqLzlCCrnQhI2lmEPdCzfmHA/fDiOz.   It makes me wonder how does the output value work as a password Define $\mathcal N$  $\mathcal N (A):=\mathcal P(A)\setminus\{\varnothing\}$  Does $\mathcal N$ has a special name and standard notation? Removing control chars (including console codes / colours) from script output How could I find $x$ in this equation $x^2-x+6 \equiv 0 \pmod {9}$ This equation is like this: $$x^2-x+6 \equiv 0 \pmod{9}$$  I want to find x by using modular arithmetic. How I could do that?   My solution was:     $$\begin{align*}  x(x-1) &amp;\equiv -6 \pmod{9}\\ x(x-1) &amp;\equiv 3 \pmod{9} \end{align*}$$      So $x$ is either:   $$ x \equiv 3\pmod{9}$$      or       $$x - 1 \equiv 3 \pmod{9}$$      Which is $x \equiv 4 \pmod{9}$   I know what I have done is very dumb. So what is the correct solution? Give me the instructions also please. Where has all the RAM gone? I have 1GB of RAM, and when I run NetBeans and Firefox, they get about 300MB of RAM. At some point, the system becomes very slow, probably 100 times slower than normal, switching windows (Alt+Tab) becomes a huge task and the computer is practically useless. This is probably the moment when it starts to swap.    Two questions:   According to images provided, where has all the RAM gone? When I calculate all the processes memory, it is far smaller then 1GB. Is it normal for system to become 100 times slower when the RAM is full and using swap space?   On another computer with 4GB of RAM I have no problems.     Update: I added 2GB of RAM, now I have 3GB. Anyone who wants to use heavy apps with 1GB on Unity, I don't think it's going to work. Works fine on an empty desktop :) java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuterFilter What animal is a “weefil”? What animal is depicted in this image labelled “weefil”? Moving a very large (40 TB) DB from a 2008 server to a 2016 server Why does observation collapse the wave function? In one of the first lectures on QM we are always taught about Young's experiment and how particles behave either as waves or as particles depending on whether or not they are being observed. I want to know what about observation causes this change? Block quote with big quotation marks