I've recently backed up some files on an external hard drive in order to install Ubuntu 12.04.  But when I wanted to copy the backed up files (ex. music files) back to home folder, I'm prompted with this:  error splicing file: input/output error     I'm unable to get my files back on my computer.
I recently obtained a Seagate Expansion 3TB external harddrive. I'm trying to copy over all of my stuff to prepare for reformatting and installing a new OS. A handful of my mp3s did not transfer when I was doing my music folder. I checked them after the fact and the ORIGINAL files became corrupted somehow. I am certain of at least a few that were not corrupted in anyway before doing this. Every now and then during my transfer I got  There was an error copying the file into /media/***/Seagate Expansion Drive. Error splicing file: Input/output error   Each of these files that I check after are corrupted at some point in the duration and will not play. Why did this happen and what can I do to fix it?
Nullable type issue with ?: Conditional Operator Run a shell script as another user that has no password I would like to run a script from the main ubuntu shell as a different user that has no password.  I have full sudo privileges, so I tried this:  sudo su -c "Your command right here" -s /bin/sh otheruser   Then I have to enter my password, but I am not sure if that script is now really running under that user.  How can I confirm that the script is really running under that user now? Can't install apps from App Store on iPhone with iOS 7 How to delete a file with a path too long to be deleted I was working with some computer vision source code I found and didn't realize that it creates a cache file that has a VERY LONG name and now I can't delete the 2 of them. I tried to rename it to a shorter name but I can't do anything to the file, I also tried to restart my computer and see if it would just go away. The error message says:  Destination Path Too Long. The file name(s) would be too long for the destination folder. You can shorten file name and try again, or try a location that has a shorter path.   How can I delete the files in this case? Why do we say there is an overall negative charge on the intracellular side of the plasma membrane at rest, and an overall positive charge on the extracellular side when both potassium and sodium are positively charged ions, and they are in relatively equal amounts on either side? It seems to me that both sides should be positively charged, and I can't get my head around it. Show that AB is singular if A is singular Actually I need to show that $\det(AB) = \det(A)\det(B)$ if $A$ is a singular matrix.  The determinant of $A$ is $0$ if $A$ is singular, so $\det(AB)$ has to be $0$ as well, but I have problems showing that $AB$ is singular if $A$ is singular. How can I show that? Proving $6^n - 1$ is always divisible by $5$ by induction I'm trying to prove the following, but can't seem to understand it. Can somebody help?     Prove $6^n - 1$ is always divisible by $5$ for $n \geq 1$.   What I've done:  Base Case: $n = 1$: $6^1 - 1 = 5$, which is divisible by $5$ so TRUE.  Assume true for $n = k$, where $k \geq 1$: $6^k - 1 = 5P$.  Should be true for $n = k + 1$  $6^{k + 1} - 1 = 5Q$  $= 6 \cdot 6^k - 1$  However, I am unsure on where to go from here. Server socket program not executing after connection establishment Bibliography tools that are compatible with biblatex and biber How to find a computer name in a LAN from the IP address? My network includes machines running Linux and others running Windows. And my machine is running Linux. System freezes completely with Intel Bay Trail My system freezes completely at random, frequent intervals. I started to have the same problem in Ubuntu 14.04 but after recent upgrade to 16.04 there is no improvement, in fact it seems worse.  When it happens, it's impossible to do anything. I've tried everything in this thread:  but nothing works, I have to hard reset. I have read all the system logs and journalctl but there is never any information that could help diagnose the problem.  This is a dual-boot system with Windows 10 and there's no problem there, so it's not defective hardware.  My laptop has an Intel Bay Trail processor (Pentium N3540) Show that quotient rings are not isomorphic I've been given a homework problem that requires me to show that the rings $\mathbb{C}[x,y]/(y - x^2)$ and $\mathbb{C}[x,y]/(xy-1)$ are not isomorphic.    This is my attempt at a solution:  For $\mathbb{C}[x,y]/(y - x^2)$, we can parametrize in the following way: $x = t$ and $y = t^2$. Then this ring is isomorphic to $\mathbb{C}[t]$.  For $\mathbb{C}[x,y]/(xy-1)$, we can parametrize $x = t$ and $ y = 1/t$. Then this is isomorphic to $\mathbb{C}[t, 1/t]$.   But $\mathbb{C}[t, 1/t]$ is not isomorphic to $\mathbb{C}[t]$.  Am I on the right track? If not, any helpful hints? What's the easiest way to install a missing Perl module? I get this error:  Can't locate Foo.pm in @INC  Is there an easier way to install it than downloading, untarring, making, etc? For every $n \in \mathbb{N}$, find a function $f$ which is differentiable $n$ times at $0$, but not $n+1$ times. For every $n \in \mathbb{N}$, (in this problem $\mathbb{N}$ starts at $n = 1$) find a function $f$ which is differentiable $n$ times at $0$, but not $n+1$ times.  The function I chose is the following:  $$ f_n(x) = \begin{cases} x^{n+1} &amp;\mbox{if } x \le 0\\ x^{n} &amp;\mbox{if } x &gt; 0 \end{cases} $$  Now I can't think of the best way to prove that $f$ is differentiable  $n$ times at $0$ but not $n+1$ times. How to determine an object's class? I've discovered a new pattern.  Is this pattern well known or what is the opinion about it?  Basically, I have a hard time scrubbing up and down source files to figure out what module imports are available and so forth, so now, instead of  import foo from bar.baz import quux  def myFunction():     foo.this.that(quux)   I move all my imports into the function where they're actually used., like this:  def myFunction():     import foo     from bar.baz import quux      foo.this.that(quux)   This does a few things.  First, I rarely accidentally pollute my modules with the contents of other modules.  I could set the __all__ variable for the module, but then I'd have to update it as the module evolves, and that doesn't help the namespace pollution for code that actually lives in the module.  Second, I rarely end up with a litany of imports at the top of my modules, half or more of which I no longer need because I've refactored it.  Finally, I find this pattern MUCH easier to read, since every referenced name is right there in the function body. I was reading an example about describing homomorphisms and I'm having a bit of trouble with this one.  Show there is no group homomorphism $f : \mathbb{Z}_{10} \to \mathbb{Z}_{25}$ such that $f(1) = 3$. The first step of the proof is  $|1| = 10$ in $\mathbb{Z}_{10}$, so $|f(1)| \in\{ 1, 2, 5, 10\}$.  Does this mean that $|f(1)|$ can be $1$, $2$, $5$ or $10$? I see that $|1| = 10$ since $1$ is a generator of $\mathbb{Z}_{10}$, and that $|f(1)|$ seems to be a factor of $10$. If $f(1)$ is the image of $1$ under $f$, how would I find the order of $f(1)$?  Thanks for your help. Can python send text to the Mac clipboard How old is Chewbacca? How old is Chewbacca, anyway? Do Wookiees get gray fur when they are old? Limit of $\lim_{(x,y)\rightarrow(0,0)}\frac{x^2y^2}{x^3+y^3}$ I want to know whether $\lim_{(x,y)\to (0,0)}\dfrac{x^2y^2}{x^3+y^3}$ exists or not. I tried to approximate to (0,0) from different "paths" and the result was always 0. For example,  $f(x,mx^2) = \dfrac{m^2x^3}{1+m^3x^3}$  But that doesn't show that the limit is 0.