Why adding throws InterruptedException creates compilation error for implementation of Runnable
Is there a way to make Runnable's run() throw an exception?
Uniformly convergent implies equicontinuous I'm trying to prove that if I have a sequence of continuously differentiable functions $f_n$ that converge uniformly on $[a,b]$, then $\{f_n\}$ is equicontinuous for all $x_0 \in [a, b]$. My idea is to use uniform convergence to deal with the &quot;tail&quot; and then use continuity to deal with the finitely many $f_n$'s left. But I'm having trouble writing it down. Why won't my computer go to sleep automatically? Windows 8 is set to sleep after 30 mins, and it used to work, but recently it's started refusing to sleep. (I can still manually ask it to go to sleep without any issue.)    I was having issues a while ago, but it was with my network adapter. That's since been disabled, so it's definitely not that:    I've checked to see what devices are able to wake up my machine, but it only appears to be my mouse:    Which is odd, because I haven't recently changed my mouse, and more confusing still: The monitor does go to sleep just fine. If it was actually the mouse keeping my system awake, I'm pretty sure the monitor wouldn't go to sleep.  I've checked my Wake Timers, and nothing:    I've also checked my existing requests...  UPDATE: I found something. What to do with it, I don't know...    Note: Even when /requests says that there's "NONE" under every category, my machine still won't sleep(!).    In short: How can I tell what's preventing my computer from Sleeping?    UPDATE: Ok, so I now have a few more pieces of the puzzle. I came back to my computer and it was ASLEEP! Lawks! It seems that the only times it doesn't sleep is if VLC Player is open, even if a video isn't actually playing.  UPDATE UPDATE: Ok, so it won't sleep sometimes when VLC Player ISN'T running, either. Bah! I'm trying to update my system using apt-get, but it's giving me this error  Err http://bd.archive.ubuntu.com raring Release.gpg          Could not connect to bd.archive.ubuntu.com:80 (116.193.170.18), connection timed out Err http://bd.archive.ubuntu.com raring-updates Release.gpg   Unable to connect to bd.archive.ubuntu.com:http: Err http://bd.archive.ubuntu.com raring-backports Release.gpg   Unable to connect to bd.archive.ubuntu.com:http: Reading package lists... Done W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/raring/Release.gpg  Could not connect to bd.archive.ubuntu.com:80 (116.193.170.18), connection timed out W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/raring-updates/Release.gpg  Unable to connect to bd.archive.ubuntu.com:http: W: Failed to fetch http://bd.archive.ubuntu.com/ubuntu/dists/raring-backports/Release.gpg  Unable to connect to bd.archive.ubuntu.com:http: W: Some index files failed to download. They have been ignored, or old ones used instead.   I am not a Ubuntu master but I can understand this is not a computer error. Any clues on how to fix it? Extract date from a variable in a different format Let me explain you the problem   $ date +%c -d "$d" Tue 31 Dec 2013 01:13:06 PM CET $ date +'Today is %F' -d "$d" Today is 2013-12-31   This solution corresponds to current date.  But I have one variable which stores date other than current date  $Prev_date="Wed Dec 25 06:35:02 EST 2013"    I am looking for solution to read this date as 2013-12-25 and store it in a variable.  I have tried this:  a=`date --date=$Prev_date '+%y/%m/d'` echo $a   It's giving this error:  date: illegal option -- date=Wed usage: date [-u] mmddHHMM[[cc]yy][.SS] date [-u] [+format] date -a [-]sss[.fff] What should happen if a logo I made is similar to another? Is it possible to trade Pokemon from the 1st generation games to the most recent ones? I know that you can trade Pokemon between games of the same generation (Gold/Silver, Ruby/Sapphire) and even trade between 1st gen and 2nd gen. However, I haven't been able to find a way to trade Pokemon so that I can play with my 1st generation Pokemon in HeartGold, for instance. If it is possible, how many steps would it take and what equipment would I need? How to mount EXT4 disk on 10.15? Since I have osxfuse installed it would be nice if I could use it. There are a  (heavily) outdated  here, saying that it is not . Is this still the case? Ubuntu 20.04 brightness adjust not working I am unable to adjust brightness levels through Gnome. I had the same issue with 18.04 but it was resolved there (honestly, I can't remember how).  lspci|grep VGA 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)  xrandr --output LVDS-1 --brightness 0.95 &lt;-- this works through the terminal excerpt from /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"   Thank you in advance. We've tried this a few times. First time we used an old ceramic container and it started sheding on the inside and ruined it. Next time we used a new metal garbage can with one of those super sized 10 gallon zip lock bags as a liner. It went rank very quickly. This could have been due to our packing though. Before we get into this again, what is you recommendation for a good container? I hate the thought of plastics but it seems it might just be the best choice as long as it's made for food storage. Get OS-level system information If we multiply 2 number and take the mod with prime this is equivalent to first taking mod with the prime of individual number and then multiplying the result and again taking mod.  $$ ab\bmod p = ((a\bmod p)(b\bmod p))\bmod p$$  does there exist any proof for this?  Does it work for composite moduli too? Then I can use the Chinese remainder Theorem to calculate the result does there any other way apart from Chinese remainder Theorem to solve the problem? Traveling to Ireland with German National visa I am a student at the University of Stuttgart, Germany and I have a 1 year national visa for Germany and now as my holidays are ahead I was looking if my German visa is sufficient to travel to Ireland for some 10 days. I am a citizen of Republic of Armenia. Should moderators be allowed to decline flags on their own comments? I think I just witnessed a moderator decline a flag raised on his own comment. (I'm hesitant to discuss specifics unless I have to, as I don't mean to put anyone in a negative light.)  Since there are at least 2 other moderators per site, I'm not sure this should be allowed—I feel that either   only uninvolved moderator(s) should be able to view and handle flags on co-moderators' posts, or moderators should be able to view all flags, but a flagged moderator should not be allowed to decline a flag against him- or herself.   I have no personal issue with this moderator. I just felt in this case that there was truth in both sides (the moderator's as well as the flagging user's), and sought a win-win solution, i.e. by improving the disputed answer. Coming back an hour later to see that the moderator unilaterally declined the user's flag—that didn't seem fair to the user...  I am making some assumptions based on the "Last Seen" stat in the moderator tools, so if I'm simply mistaken on what happened, I apologize in advance. Prevent malicious bots from posting spam Considering phrases of the form "I left [the] X", what causes some words to need a "the" before them, while it sounds awkward with others?  Needs "the":   I left the office I left the bank I left the house I left the courthouse   Awkward with "the":   I left work I left social media I left New York   Either way works:   I left [the] school I left [the] church When I run the logistic regression, two independent variables have VIF values greater than 10 like 13 or so. Logistic regression is the one I will use to measure the overall change in the dependent variable with one incremental changes in every each independent variable. However, when I run the linear regression model version on my same data, the VIF values I get from all the independent variables are either slightly greater than 1 or around 5 or 6. Besides, all the coefficients are highly significant all below 0.01.  If so, is it safe to use my logistic regression model to find out the incremental effect of every each independent variable without dropping out any independent variables?   If my purpose is to find an incremental effect of every each independent variable on the overall dependent value in a logistic regression model, is multicolinearity an important problem to consider? Can I ignore it?   If my p-values are all less than 0.01 which is the same indicator as t-value, will I still need to worry about colinearity issue even though my VIF scores for two variables are around 13-14? Based on what you said, if p-value is safe enough, will this be still a problem?  I am also referring to the following website comment:                                                                     So, in sum, my ultimate goal is to use the final output from the logistic regression model generated from the independent variables and one binary dependent variable. If so, do you think I can ignore the multicolinearity problem? Vortex in liquid collects particles in center If $|A| > \frac{|G|}{2} $ then $AA = G $ I'v found this proposition.  If $G$ is a finite  group , $ A \subset G $ a subset and $|A| &gt; \frac{|G|}{2} $ then $AA = G $.  Why this is true ? So, my friend just implemented a bunch of new mods into his SMP server, which meant a host of new commands to play with.  I thought I'd give the /mobspawn command a few goes, and see what I could achieve.  So I headed off to the server's jail (I forget why this particular location compelled me), and gave it a few spins.    I seem to have made a bit of an error in judgement.     What can I do to get rid of this mess?  Is there a command or some other technique I can use to clear out any mobs in my immediate vicinity? Quotient ring of Gaussian integers $\mathbb{Z}[i]/(a+bi)$ when $a$ and $b$ are NOT coprime The isomorphism $\mathbb{Z}[i]/(a+bi) \cong \Bbb Z/(a^2+b^2)\Bbb Z$ is , when the integers $a$ and $b$ are coprime. But what happens when they are not coprime, say $(a,b)=d&gt;1$?      — For instance if $p$ is prime (which is not coprime with $0$) then $$\mathbb{Z}[i]/(p) \cong \mathbb{F}_p[X]/(X^2+1) \cong \begin{cases} \mathbb{F}_{p^2} &amp;\text{if } p \equiv 3 \pmod 4\\ \mathbb{F}_{p} \times \mathbb{F}_{p} &amp;\text{if } p \equiv 1 \pmod 4 \end{cases}$$ (because $-1$ is a square mod $p$ iff $(-1)^{(p-1)/2}=1$).  — More generally, if $n=p_1^{r_1} \cdots p_m^{r_m} \in \Bbb N$, then  each pair of integers $p_j^{r_j}$ are coprime, so that by CRT we get $$\mathbb{Z}[i]/(n) \cong \mathbb{Z}[i]/(p_1^{r_1}) \times \cdots \times \mathbb{Z}[i]/(p_m^{r_m})$$  I was not sure how to find the structure of $\mathbb{Z}[i]/(p^{r}) \cong (\Bbb Z/p^r \Bbb Z)[X] \,/\, (X^2+1)$ when $p$ is prime and $r&gt;1$.  — Even more generally, in order to determine the structure of $\mathbb{Z}[i]/(a+bi)$ with $a+bi=d(x+iy)$ and $(x,y)=1$, we could try to use the CRT, provided that $d$ is coprime with $x+iy$ in $\Bbb Z[i]$. But this is not always true: for $d=13$ and $x+iy=2+3i$, we can't find Gauss integers $u$ and $v$ such that $du + (x+iy)v=1$, because this would mean that $(2+3i)[(2-3i)u+v]=1$, i.e. $2+3i$ is a unit in $\Bbb Z[i]$ which is not because its norm is $13 \neq ±1$.  — I was not able to go further. I recall that my general question is to known what $\mathbb{Z}[i]/(a+bi)$ is isomorphic to, when $a$ and $b$ are integers which are not coprime (for instance $a=p^r,b=0$ or $d=(a,b) = a^2+b^2&gt;1$).  Thank you for your help!