Dividing negative numbers with floordiv in python
Negative integer division surprising result
Immutability, Association and typing What is the fastest way to get from Courmayeur/Aosta to Milan? We will be crossing the Italian/French border through Mont Blanc via cable cars, which we heard through Rick Steve's article: .  We will be starting off in Chamonix and arriving in Courmayeur. What's the fastest (and relatively cost-effective) way to get to Milan from Courmayeur? Best practice: card expiry date on checkout The app forgets that I voted when I scroll the question OpenLayers Plugin Error: latitude or longitude exceeded limits I'm aware the 'traceback' OpenLayers plugin error has been dealt with before, so apologies for raising the issue once again. Unfortunately for me, the solutions posted were way over my head, e.g. using workarounds and code posted on github, etc. I find it all mind-boggling.  If anyone could post a step by step answer for an absolute beginner like me I would be eternally grateful! Thank you. I hope that one day I can contribute something.  The error message reads:   An error has occured while executing Python code:  Traceback (most recent call last):   File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 48, in addLayer     self.__plugin.addLayer(self)   File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 190, in addLayer     self.__setMapSrsGoogle()   File "C:/Users/MCMA1580/.qgis//python/plugins\openlayers_plugin\openlayers_plugin.py", line 249, in __setMapSrsGoogle     extMap = coodTrans.transform(extMap, QgsCoordinateTransform.ForwardTransform) QgsCsException: forward transform of (0.884883, 2.549197) PROJ.4: +proj=longlat +datum=WGS84 +no_defs +to +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext  +no_defs Error: latitude or longitude exceeded limits What is the difference between can and could in 'Can/could you please explain this to me?' Should spam posts be edited? I noticed that the posts of the recent spam surge on Ask Ubuntu were all edited by community members into something like     EDITED - REMOVED SPAM ANSWER   or similar.  While I understand why the users have done this and I too don't want to leave the spam content visible for longer than absolutely necessary, it made flagging more time consuming for me.  I had to check the revision for every of those possible spam posts to check if it is actually spam, instead of being able to flag directly from the review site. Spam flags carry a serious penalty, I'm not willing to add my spam flag without checking that it's really spam.  I see the benefit of editing spam, but it also causes some more effort for the later flaggers. Should we as a general policy edit out the content of spam posts, or should we deal with them solely by flagging? I have the following sentence:     If T had still been alive, there is the great possibility that either T or C ...   My teacher says that the word "then" must appear after the comma, but I think that it's implied and unnecessary. Who is right? A friend offered me a brain teaser to which the solution involves a $195$ pound man juggling two $3$-pound balls to traverse a bridge having a maximum capacity of only $200$ pounds. He explained that since the man only ever holds one $3$-pound object at a time, the maximum combined weight at any given moment is only $195 + 3=198$ pounds, and the bridge would hold.  I corrected him by explaining that the acts of throwing up and catching the ball temporarily make you 'heavier' (an additional force is exerted by the ball to me and by me onto the bridge due to the change in momentum when throwing up or catching the ball), but admitted that gentle tosses/catches (less acceleration) might offer a situation in which the force on the bridge never reaches the combined weight of the man and both balls.  Can the bridge withstand the man and his balls? Where does de Broglie wavelength $\lambda=h/p$ for massive particles come from? I'm curious where the  $p=\frac{h}{\lambda}$ comes from?   I know that for light (which has no rest mass), the following is true:  $E=pc$ and $E=hf$  so,  $$pc=hf \Rightarrow p=\frac{hf}{c}=\frac{h}{\lambda}$$  But how is the expression $p=\frac{h}{\lambda}$ obtained for a massive particle where $E\neq pc$? I've read some people claim that the expression can be derived, and others saying it's an experimentally verified relationship. Does $\sum_{n=3}^\infty \frac {1}{(\log n)^{\log(\log(n)}}$ converge? Does the following series converge:  $$\sum_{n=3}^\infty \frac {1}{(\log n)^{\log(\log(n)}}$$  I've tried all test I know... Any ideas ? Converting spoken word audio files into text I've been working on transcribing a lecture series from audio to text files.  There are just over 20 lectures, and each one is about an hour long.  Using VLC Player, I'm able to slow down the speaker's words to a rate that I can keep up with.  However, it's extremely slow going, and it takes so much concentration that I can barely get through a third of a lecture before I have to take an extended break.  The thought had occurred to me that I would be better served by using some kind of speech recognition software, and then proofreading the computer-generated result.  This is likely to be a one-time thing, so while I don't mind using commercial software to get the job done, it would be preferable if it wasn't too expensive (or free; free is always good).  Command-line solutions are fine, too (:  Any suggestions? How do I install and manage RPMs? I have a burning desire to install RPMs onto my Ubuntu installation - is this possible? Can I use Yum - or another RPM Package Management tool? In how many ways can we choose $r$ numbers from $\{1,2,3,...,n\}$,   In a way where we have no consecutive numbers in the set? (like $1,2$) The following is an Exercise of Conway's Functional Analysis.   Prove that $X$ is a $\,Banach$ space iff whenever $\{x_n\}$ is a sequence in $X$, such that $\sum \| x_n \| &lt; \infty$, then $\sum x_n$ converges.   I easily can show that if $X$ is a Banach space then $\sum x_n$ converges. My problem is showing that $X$ is a Banach space. For this I suppose that $\{s_n\}$ is a Cauchy sequence in $X$, then I want to make a series. For this I do not have any idea. Please help me. Prove that:$\int_{a}^{b} f(x) dx = b \cdot f(b) - a \cdot f(a) - \int_{f(a)}^{f(b)} f^{-1}(x) dx$ Conditional expectation of $X$ given $\sin(X)$ If $\mathop{\mathrm{Spec}}A$ is not connected then there is a nontrivial idempotent Show all comments if there is just "1" extra comment to show When looking at a question or answer with comments, I think it would be better to just show that one extra comment if the threshold is "Show 1 more comment".  In other words, if there are 6 comments, show all 6 comments.  If there are 7 comments, then show 5 comments and the link "Show 2 more comments".  Etc for more comments. I tried and got this   $$e=\sum_{k=0}^\infty\frac{1}{k!}=\lim_{n\to\infty}\sum_{k=0}^n\frac{1}{k!}$$ $$n!\sum_{k=0}^n\frac{1}{k!}=\frac{n!}{0!}+\frac{n!}{1!}+\cdots+\frac{n!}{n!}=m$$ where $m$ is an integer. $$\lim_{n\to\infty}n\sin(2\pi en!)=\lim_{n\to\infty}n\sin\left(2\pi n!\sum_{k=0}^n\frac{1}{k!}\right)=\lim_{n\to\infty}n\sin(2\pi m)=\lim_{n\to\infty}n\cdot0=0$$  Is it correct?