I want to install hadoop in my Ubuntu 14.04 system. Following the instruction of a blog, I need to update the &quot;source list&quot;. But when I input the command: sudo apt-get update I get errors: E: Type '--2016-08-04' is not known on line 1 in source list /etc/apt/sources.list       E: The list of sources could not be read. E: The package lists or status file could not be parsed or opened.  At the same time, a stop sign shows in the upper right of the menu says that: An error occured. Please run Package Manager from the right-click menu or run apt-get in a terminal to see what is wrong. The error message was: 'Unknown error: '&lt;class 'SystemError' E:Type '--2016-08-04' is not known on line 1 in the source list /etc/apt/sources.list. This usually means that your installed packages have unmet dependencies&quot;  /etc/apt/sources.list: --2016-08-04 21:29:00-- (try: 1) http://pastebin.com      /raw.php?i=uzhrtg5M Resolving pastebin.com (pastebin.com)...      104.20.63.56, 104.20.64.56 Connecting to pastebin.com   (pastebin.com)|104.20.63.56|:80... connected. HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers. Retrying.  This is the beginning of the sources.list.
Every once in a while I see users having issues to update due to errors like this:  E:Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/some-ppa.list'   with varying types/line numbers/source list files (often after removing a PPA).  How can such an error be fixed?
Keep the same field headers after joining a table to a shapefile in QGIS I noticed that after joining a table to a shapefile the headers of each fields in the table used for the join are changed by QGIS and they are attributed to a different name.  For instance, I had a shapefile with vegetation_codes and a table with vegetation_codes and veg_definition (these were the headers). After joining the table to the shapefile and also saving the shapefile and creating a new one, the vegetation_classes header was changed into vegetati_1.  Is there a way to keep the original headers?  I am using QGIS Dufour on Windows 7 and the table that I join to the shapefile is CSV (tried with dbf as well and the problem is the same). Why does no one notice the Joker's presence as a policeman during the mayor's speech? Show that if $ab$ has finite order $n$, then $ba$ also has order $n$. - Fraleigh p. 47 6.46. Attempted proof based on  and .  Given: $a,b$ elements of $G$, and $ab$ has finite order $n$.   Hence $\color{magenta}{|ab| = n} \iff (ab)^n = e$.   I must prove that $n$ is the smallest positive integer        such that $(ba)^n = e.$ Notice:  $\begin{align}(\color{darkorange}{a}\color{darkcyan}{b})^n &amp;= e \implies \color{darkorange}{a}\color{darkcyan}{b}(ab)^{n-1} = e \implies  \color{darkcyan}{b}(ab)^{n-1}\color{darkorange}{a} = e \implies (ba)^n = e \end{align} $ $\implies |ba| \le n$.  Now I must prove that there's no positive integer $m$ such that $m&lt;n$ and $(ba)^m = e.$ For a proof by contradiction, suppose $|ba|&lt;\color{magenta}{n}$. Then we could apply the same reasoning to find that $ |ab| ≤ |ba| &lt; \color{magenta}{|ab|}$,  which is absurd. So $|ba| = |ab| = n. \quad \blacksquare$  Questions   Whence does $ |ab| ≤ |ba| $ arise, in the second last line?   What's the intuition of the claim proved?    How do you prognosticate that $|ba|&lt;\color{magenta}{n}$ is impossible, and that you should prove it by contradiction? Can bug reports and feature requests requiring SE Dev attention be reported on per-site metas, or do they need to all go here? In the chapter on Spellcasting, there is a section called . However, despite the seeming generality of the title, the text of this section only talks about magical effects from spells:     The effects of different spells add together while the durations of those spells overlap. The effects of the same spell cast multiple times don't combine, however. Instead, the most potent effect--such as the highest bonus--from those castings applies while their durations overlap, or the most recent effect applies if the castings are equally potent and their durations overlap.   It makes sense that this section would only talk about spells, since it is in the chapter about spellcasting. However, this seems to leave ambiguous the question of how magical effects from sources other than spells combine. Such an issue could arise, for example, if two different items (or two of the same item) grant a bonus to attack rolls, or a bonus to the same saving throw.  Is there a published rule or official ruling that governs how non-spell magical effects combine?  (This question was inspired by  about the interaction between +X magical ammunition and Oil of Sharpness, and could be considered a generalization of that question.) Alternative IDE for VB6 and VBA I've been spoiled by Visual studio 2008 and Eclipse and have to do a little maintainence work on a VB6 app.  Does anyone know of an alternative/ updated IDE for VB6?  A rewrite is not an option I'm just fixing a couple of bugs and it's a big codebase. How to shop for mortgage rates ? I have already been prequalified with 3.8% (but I am sure I can do better :)). Now, I am about to make an offer on a house. So, once the seller accepts my offer, how do I rate shop ?    Do I need to do the rate shopping before making an offer, or after the seller accepts my offer ?  When the seller accepts my offer, then I will go to a banker and submit a full application, so will it be legally binding for me to go with the approved mortgage application ?  Or, once the seller accepts my offer, may I simultaneously apply for a mortgage with 3-4 bankers, and then choose the lowest rate ?     I asked my realtor, but she recommends to go with just one banker (her friend), and not to do any rate shopping. Is it the right way ?   (I live in a state of Arkansas, so I am thinking of going with the local bankers) Is the change in the Lagrangian always a total derivative for symmetry transformations of the action? Let $\Omega\subset\mathbb R^n$ and consider an arbitrary functional $$ S\colon C^k(\Omega)\to\mathbb R $$ that is local, $$ \phi\overset S\mapsto \int_\Omega L(\phi,D\phi,\dots,D^k\phi) $$ for $L$ some $n$-form taking values in the $k$-jet space $J^k\phi$. We may call $S$ the action functional, and $L$ its associated Lagrangian (although we do not assume that $\delta S[\phi]=0$, i.e., we work off-shell).  There are two notions of a symmetry that are typically discussed:   Lagrangian symmetries, that is, transformations of the form $\phi\to\phi'$ that satisfy $$ L-L'=\mathrm d\Theta $$ for some $(n-1)$-form $\Theta$, and where $L'(J^k\phi)=L(J^k\phi')$. Action symmetries, that is, transformations of the form $\phi\to\phi'$ that satisfy $$ S-S'=0 $$ where $S'[\phi]=S[\phi']$.   If we assume that the boundary conditions are such that $\Theta|_{\partial\Omega}=0$, then it is clear that Lagrangian symmetries are also action symmetries.  If we assume that $\Omega$ is "nice-enough" (e.g. star-shaped) then I believe that any action symmetry is also a Lagrangian symmetry, although I would like to have a more precise statement about this fact. In other words, my question is     Are these two notions of symmetry equivalent? Under what conditions?   Moreover, how much can we weaken the assumptions? For example, can we take $\Omega$ to be simply-connected instead of star-shaped? Can we take $\phi$ to only have weak derivatives instead of strong derivatives? Going to any question on the site brings an error page Do the 46 human chromosomes form a single unbroken DNA helix?  Or is it rather that a human's genome consists of 46 disconnected helices?    If it is the former, does the common numbering scheme for the chromosomes have any correlation to their actual ordering in the one large strand?  If is the latter, is there a convention on how the chromosomes are ordered in genomic datasets?  Also, is there a clear understanding of how sister chromosomes "find" each other in Meiosis I?  Generally, during periods when Mitosis/Meiosis are not occurring,  what's a good physical picture for how the chromosomes are physically arranged (e.g. a bowl of 46 spaghetti noodles, or maybe the sister chromosomes always stay close together, etc)  thanks! Code Formating in Comments 3 Statements of axiom of choice are equivalent This winter I started to study much harder the set theory and especially the axiom of choice. Unfortunately, I have problems with solving the next exercise:  Prove that the 3 statements of the axiom of choice are equivalent :  1) For any non-empty collection $X$ of pairwise disjoint non-empty sets, there exists a choice set.  2) For any non-empty collection $X$ there is a choice function.  3) For any non-empty set $X$, there exists a function $f:P(X)\setminus\{\varnothing\}\to X$ so that for any non-empty set $A\subseteq X$, $f(A) \in A$. How to avoid having my father's down payment assistance get taxed as a gift Turn off the link hover statusbar in Google Chrome I want to turn off the feature where whenever I hover over a hyperlink and in the bottom lefthand corner it shows a light blue hover tooltip about where that link goes.   Why do I want to turn it off? It's annoying to me. I am distracted as I work. None of the other browsers do it. Besides, it serves little purpose because it can be spoofed with the onmousedown event on a link. Take for instance ads on Facebook -- those spoof.   I really don't care where a given link goes and wish I could turn that feature off, even if I have to install a Google Chrome Extension.   So, is there a fix to turn the annoying link hover tooltip feature off? S tabular with alignment Google crawlers screen size Imagine a I have two types of images (A and AAA(heavier)) for the same website: depending on the size of the screen it will show one image or other.   Now I'm wondering what images (A or AAA) loads the Google crawler when it visits my site.   In other words: has the Google crawlers any "screen size"?  I suppose, in case the it loads the A images, the page-speed puntuation will be better than if it loads the images AAA. How to best determine if a bike will fit without riding it How to mount an internal HDD on start-up? In Drupal 7, I used the Secure login module to run the site on a secure connection, but it seems it doesn't revert back to http on logout. I would like to just run the whole site as https:// as a simplification.  Is there a simple way to do this without the use of module? MATLAB superclass can not be found on the MATLAB's search path