Problem converting qrc file into py one by PyQt5
'pyrcc5' is not recognized as an internal or external command
Kill process spawned by ssh when ssh dies I am wondering if there exists any formula for the following power series :  $$S = r + r^2 + r^4 + r^8 + r^{16} + r^{32} + ...... + r^{2^k}$$  Is there any way to calculate the sum of above series (if $k$ is given) ? Let me edit a post in the close review, then vote to close it I think we need a button that says Edit and Close added to the Review Close button options.  Many of these closed posts will be around forever (and should be, closed should not just be a path to deletion), so they need editing.  If I edit it now it goes away, with the only option being a back click to get back to the review, and then click into the post and edit it.  We have an Edit and Reopen button, so this would fit in just fine. Can I uninstall and reinstall Ubuntu Software Center? Since migrating to a true install and upgrading to 12.04 I have had several problems that seem to relate to the Ubuntu Software Center. Hanging at applying changes and blank screen on screen lock only when it is running, for instance.  My question is: Can I safely uninstall and reinstall Ubuntu Software Center and could this possibly fix those problems or are they just bugs I have to wait for updates for? hard voting, soft voting in ensemble based methods I'm reading . Then I'm not able to figure out the difference between hard voting and soft voting in context to ensemble based methods.  I quote descriptions of them from the book. The first two images from the top are description for hard voting, and last one is for soft voting.        In my view hard voting is majority decision, but I don't understand soft voting and the reason why soft voting is better than hard voting. Would anyone teach me these? in bash I have some jobs running, in background. They are always producing random irrelevant error messages that pollute the terminal. I am not always so prompt to start them with the 2&gt;&amp;1 &gt; /dev/null redirect. How can I redirect the output when they are already running? How Do I Allow A Standard User to Install Programs? Yes, I realize that defeats the purpose of standard user. But here is the situation. A friend of mine wants to set up time limits for his home schooled son, and his son needs to be a standard user in order to use Family Safety. But at the same time, his son (who I personally think is way too old to have time limits), needs to be able to update and install some of his games on his computer. So I guess it's just sort of "light" parental control (just something to help him focus and not get distracted with hours of gaming).  It is the basic version of Windows 8.1, so there is no Group Policy editor (gpedit.msc). However, I'm fairly good with computers and I figured out how to install it. But it doesn't have a lot of the features that the "real" gpedit seems to have. Here is an example of what is in my gpedit: "Inspirational" quote at start of chapter mod Distributive Law, factoring $\!\!\bmod\!\!:$ $\ ab\bmod ac = a(b\bmod c)$ I stumbled across this problem  Find $\,10^{\large 5^{102}}$ modulo $35$, i.e. the remainder left after it is divided by $35$  Beginning, we try to find a simplification for $10$ to get: $$10 \equiv 3 \text{ mod } 7\\ 10^2 \equiv 2 \text{ mod } 7 \\ 10^3 \equiv 6 \text{ mod } 7$$ As these problems are meant to be done without a calculator, calculating this further is cumbersome. The solution, however, states that since $35 = 5 \cdot 7$, then we only need to find $10^{5^{102}} \text{ mod } 7$. I can see (not immediately) the logic behind this. Basically, since $10^k$ is always divisible by $5$ for any sensical $k$, then: $$10^k - r = 5(7)k$$ But then it's not immediately obvious how/why the fact that $5$ divides $10^k$ helps in this case. My question is, is in general, if we have some mod system with $a^k \equiv r \text{ mod } m$ where $m$ can be decomposed into a product of numbers $a \times b \times c \ \times ...$, we only need to find the mod of those numbers where $a, b, c.....$ doesn't divides $a$? (And if this is the case why?) If this is not the case, then why/how is the solution justified in this specific instance? Where did Hogwarts get money for salaries, food and other purchases? Opt out of moderator election notifications How to populate the geometry column in a PostGIS table? After loading a polygon shapefile into PostGIS, the geometry column (geom) is blank for several features. In one case, only a single feature has the geometry calculated and all others are blank. I'm using the PostGIS SHP and DBF loader v.2.0. I am creating a spatial index, and using COPY rather than INSERT. I have loaded several other point datasets and they geom column is populated just fine... (Otherwise, things are working just fine for the polygons: when I create a new feature, the geometry is calculated / geom field populated...etc.) Have I done something wrong when importing the data?  Solution by @ThomasG77 (in comments) PgAdmin3 [doesn't] display features that are too complex but they are present.  You can try SELECT length(ST_astext(the_geom)) from your_table to confirm or you can find &quot;true&quot; empty geometry with SELECT * from your_table WHERE the_geom IS NULL;. How to move Ubuntu to an SSD Allow cancelling of stars from message Currently, the only way to cancel stars in a chat transcript is when the chat-message is visible in the chatroom's sidebar.    However, in a fast-moving, multi-star chatroom, the window of opportunity to cancel can be short, and rapid changes in starring can quickly make this impossible to do in a timely way.  We use stars as markers in moderator chat events (where the Community managers disseminate important information to the moderator teams) as well as for town halls during elections.  Feature request: Allow mods/room owners to cancel stars from the chat message menu box, including in the transcript. Using the itemize environment inside a caption velocity of an object after leaving a ramp Is is possible to skip the confirmation step while adding a repository? When I add a repository by running  sudo add-apt-repository ppa:ubuntu-x-swat/x-updates   It outputs this dialog:  Updated versions of X.org drivers, libraries, etc. for Ubuntu.  This PPA is for stable upstream releases of X.org components.  If you're looking for something even more bleeding-edge, please see the xorg-edgers PPA.  While Ubuntu does not "officially/formally" support these packages, if you discover problems when installing these debs please feel free to report bugs to launchpad.  However, please make sure to clearly state that you are running packages from this PPA so we know the fixes need to come here.  If you are upgrading from one release to another with this PPA activated, please install the ppa-purge package and use it to downgrade everything in here beforehand. sudo ppa-purge ppa:ubuntu-x-swat/x-updates will do it.  [Directions for packaging drivers can be seen at https://wiki.ubuntu.com/X/DriverBuilding]  More info: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates Press [ENTER] to continue or ctrl-c to cancel adding it   I want to skip the confirmation step  Press [ENTER] to continue or ctrl-c to cancel adding it   How can I automatically confirm the addition of a PPA? How to convert a column number (e.g. 127) into an Excel column (e.g. AA) Change desktop background to a solid color (e.g. pitch black) in GNOME 3 Order of the product of two commuting elements with coprime orders in a group. I want to show that if $g,h\in G$ are group elements with finite coprime orders $m$ and $n$ and $gh=hg$ then the order of $gh$ is $mn$.    We have that  $$ (gh)^{mn}=g^{mn}h^{mn}=1 $$  using $gh=hg$, so $|gh|\leq mn$. On the other hand, $mn=\operatorname{gcd}(m,n)\operatorname{lcm}(m,n)=\operatorname{lcm}(m,n)$, since $m$ and $n$ are coprime. I am not sure how to proceed, I tried assuming that $|gh|&lt;mn$ and arriving at a contradiction, but it did not take me anywhere.