sudo apt update && sudo apt upgrade && sudo apt dist-upgrade && sudo apt autoremove . i used this command and seems this error E: Failed to fetch http://np.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-i386/by-hash/SHA256/06037c30d4089fb5eb7743e3e8b8f0844c499231dcfc81e7e2ed8beb2e170606  Hash Sum mismatch E: Some index files failed to download. They have been ignored, or old ones used instead.
Trouble downloading packages list due to a "Hash sum mismatch" error When I check for updates, I get a "Failed To Download Repository Information" error.   This is what comes up under details:   W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources  Hash Sum mismatch,  E: Some index files failed to download. They have been ignored, or old ones used instead.
If $\cos x=\cos y$ and $\sin x=\sin y$ is $x=y$ or $x=2\pi,y=0$ or $x=0,y=2\pi$? $x,y\in[0,2\pi]$ I know that if $\sin x=\sin y$ then $x=n\pi+(-1)^ny$  and $\cos x=\cos y$ implies that $x=y+2k\pi$ or $x=-y+2l\pi$. Since the latter does not fit the form above $x=y+2k\pi$ which implies that $k=0,1,-1$. Hence, we have x=y or $x=2\pi,y=0$ or $x=0,y=2\pi$. On Linux can I keep a program running in background even after I disconnect? If I'm logged into a remote Linux machine, I know I can suspend a process (cntr-z) and move it to the background (bg 1) but if I disconnect from the machine, the process stops.  Is there a way I can leave it in the background and have it there when I log back in? This is a very long running process.  On Ubuntu, logged in via SSH. For $D$ a GCD domain , let $a,b,x \in D \setminus \{0\}$ , then is it true that $\gcd (ax,bx)=x \cdot \gcd (a,b)$? How to change specific values in a List I am trying to capitalize Western Canada or western Canada properly and am wanting a definition for when the "ern" is added as a suffix to a locational distinction of a proper noun.  I believe the capitalization is related to the suffix and am grouping two questions.  After researching on the internet I have found a trend that areas of discrete area become capitalized along with their proper noun   East New York West Hollywood East London (Britain) East Los Angeles   Some locations have "ern" added to their locational modifier.    Web Examples (from government sites):   eastern Canada ( Western Canada ()   All the examples listed contain discrete areas.  The "ern" suffix is used for larger areas, but I am unable to determine when an area becomes large enough. Does non-mass-energy generate a gravitational field? At a very basic level I know that gravity isn't generated by mass but rather the  and when I wave my hands a lot it seems like that implies that energy in $E^2 = (pc)^2 + (mc^2)^2$ is the source of gravity.  If the total energy of a particle contributes to the generation of a gravitational field, that seems to imply some strange things.  For example, you could accelerate a particle like an electron to such a high velocity that it has enough momentum / kinetic energy to collapse into a black hole.  An observer traveling with the electron would see an electron and stationary observers would see an arbitrarily massive black hole flying by.  These observations seem to be contradictory.  The same would be true of an extremely high energy photon.  Another consequence is that a stationary particle could appear to have so much mass that it could attract / deflect the trajectory of a rapidly moving observer.  It seems odd that at low velocities you wouldn't even notice a stationary electron as you pass it by but at high velocities the gravitational field you observe could be significant enough to alter your path.  Am I correct that non-mass-energy generates a gravitational field?  If it does, how are these strange observations like a particle looking like a black hole in one reference frame but not another reconciled? Why does the (relativistic) mass of an object increase when its speed approaches that of light? I'm reading Nano: The Essentials by T. Pradeep and I came upon this statement in the section explaining the basics of scanning electron microscopy.     However, the equation breaks down when the electron velocity approaches the speed of light as mass increases. At such velocities, one needs to do relativistic correction to the mass so that it becomes[...]   We all know about the famous theory of relativity, but I couldn't quite grasp the "why" of its concepts yet. This might shed new light on what I already know about time slowing down for me if I move faster.  Why does the (relativistic) mass of an object increase when its speed approaches that of light? Why is the determinant the volume of a parallelepiped in any dimensions? For $n = 2$, I can visualize that the determinant $n \times n$ matrix is the area of the parallelograms by actually calculating the area by coordinates.  But how can one easily realize that it is true for any dimensions? If $E[X|Y]=Y$ almost surely and $E[Y|X]=X$ almost surely then $X=Y$ almost surely Assume that $X$ and $Y$ are two random variables such that $Y=E[X|Y]$ almost surely and $X= E[Y|X]$ almost surely. Prove that $X=Y$ almost surely.   The hint I was given is to evaluate: $$E[X-Y;X&gt;a,Y\leq a] + E[X-Y;X\leq a,Y\leq a]$$  which I can write as: $$\int_A(X-Y)dP +\int_B(X-Y)dP$$ where $A=\{X&gt;a, Y\leq a\}$ and $B=\{X\leq a,Y\leq a\}$.  But I need some more hints. Simple way to compare processors Today, comparing processors is obviously not just looking at the frequency and the number of cores.  When choosing a new PC, how do you compare processors? Is there some resource, like a site or something that does (not necessarily super-precise) processor comparisons?  Thanks. How can I find out whether my install of Windows (specifically XP and Vista) is either 32 or 64 bit?  Additionally, how can I find out if my hardware will support a 64-bit operating system? How to vertically center content with variable height within a div? What is the best way to vertically center the content of a div when the height of the content is variable.  In my particular case, the height of the container div is fixed, but it would be great if there were a solution that would work in cases where the container has a variable height as well. Also, I would love a solution with no, or very little use of CSS hacks and/or non-semantic markup. PHP: Static and non Static functions and Objects How to remove the Ubuntu menu of Windows Boot Manager? I have an ASUS K55VM and it came with DOS, and then Windows 7 was installed. I am planning to install Ubuntu on it. My computer had 4 partitions: 240GB, 230GB, 230GB, and 230GB, and I changed this to 5 partitions: 243GB, 230GB, 230GB, 150GB, and 80GB. I installed Ubuntu 12.04 to the 80GB partition through a USB flash drive. It installed fine, however the problem is during the Boot option in Windows Boot Manager. When I choose Ubuntu, this what is displayed:  Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:   1. Insert your Windows installation disc and restart your computer.   2. Choose your language settings, and then click "Next,"   3. Click "Repair your computer." If you don't have this disc, contact your system administrator or computer manufacturer for assistance.    File: \ubuntu\winboot\wubildr.mbr   Status: 0xc000000e   Info: The selected entry could not be loaded because the application is missing or corrupt.   I tried to change the boot option for the OS and made Ubuntu as my first option. It worked, however Windows 7 does not show up in GRUB. In this fear I did the following:     Restarted my PC changed boot option 1 to Windows.   Formatted the drive to which Ubuntu was installed (80GB one) through Windows.   Restarted again.     The problem persists. Windows Boot Manager still shows Ubuntu, and when I choose this it gives two lines one like: grub rescue&gt;, but my Windows 7 is working perfectly fine.  Now I want a solution to remove Ubuntu from the Windows boot option and reinstall completely. How to force the evaluation of a lambda term in haskell to the strong normal form Why is there such a big difference between "Size" and "Size on disk"? For primes $p≡3\pmod 4$, prove that $[(p−1)/2]!≡±1\pmod p$. I know to use Wilson's Theorem and that each element in the second half is congruent to the negative of the first half, but I'm not sure how to construct a proof for it. I've placed a command block making it day all the time. I want to turn it off, but I've lost it. What's the quickest way to find it? A inequality proposed at Zhautykov Olympiad 2008 An inequality proposed at Zhautykov Olympiad 2008.     Let be $a,b,c &gt;0$ with $abc=1$. Prove that:    $$\sum_{\mathrm{cyc}}{\frac{1}{(a+b)b}} \geq \frac{3}{2}.$$   Set $a=\frac{x}{y}$, $b=\frac{y}{z}$, $c=\frac{z}{x}$.   Our inequality becomes: $$\sum_{\mathrm{cyc}}{\frac{z^2}{zx+y^2}} \geq \frac{3}{2}.$$  Now we use that: $z^2+x^2 \geq 2zx.$ $$\sum_{\mathrm{cyc}}{\frac{z^2}{zx+y^2}} \geq \sum_{\mathrm{cyc}}{\frac{2z^2}{z^2+x^2+2y^2}} \geq \frac{3}{2}.$$  Now applying Cauchy-Schwarz we obtain the desired result.  What I wrote can be found on this link: . But now, I don't know how to apply Cauchy-Schwarz.   Thanks:) Splicing a Javascript array from within the callback passed to forEach