Unable to upgrade from 12.04 to 14.04 This is the error message I get:  An unresolvable problem occurred while initializing the package information. Please report this bug against the 'update-manager' package and include the following error message: E:Encountered a section with no Package: header,  E:Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en, E:The package lists or status file could not be parsed or opened.   How do I force the upgrade to latest package?  I am at 12.04 LTS and want to go to 14.04.1 LTS.  The error message only allows me to close &amp; when doing so closes all of the updater.  from my past recollection there is a file I need to delete.  I can not recall which one.  This machine being used to allow guest to access the internet so there is no risk of data loss.
How do I fix a "Problem with MergeList" or "status file could not be parsed" error when trying to do an update? The computer gave me this output in a window:  E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages E: The package lists or status file could not be parsed or opened.   How can I fix this?
Why can't an electric field line suddenly break? My book has the following question in it as an exercise:  An electrostatic field line is a continuous curve i.e. a field line cannot have sudden breaks. Why not?  I cannot seem to be able to reason for or against this statement.  Can somebody please tell me why they can't suddenly break and if that were to happen then what will be its outcome? I built a simple bridge rectifier.         &ndash; Schematic created using   I connected the output of the function generator with CH1 of my oscilloscope and  with the input of the rectifier (using a T-Piece). The output goes into CH2.   The original wave looks like this:    After connecting CH2 the picture looks like this:   While CH2 looks good,  CH1 now shows the wave I would expect without capacitator but not the expected original wave.   Could somebody explain why? I'm using a Gwinstek GDS-1072A-U Oscilloscope and a Gwinstek SFG-1003 function generator. To prevent overfitting people people add a regularization term (proportional to the squared sum of the parameters of the model) with a regularization parameter $\lambda$ to the cost function of linear regression. Is this parameter $\lambda$ the same as a lagrange multiplier? So is regularization the same as the method of lagrange multiplier? Or how are these methods connected? Is there a known mathematical equation to find the nth prime? I've solved for it making a computer program, but was wondering there was a mathematical equation that you could use to solve for the nth prime? Similes and Metaphors - are similes a subset of metaphors? I was recently told (  ):     You cannot delete a class in production directly. You will need delete   the class from your sandbox and then deploy the deletions to your   production org.   When you deploy from sandbox to production, the   missing classes will come up in red and you can choose to deploy these   deletions to Production.   However, I'd like some clarification because finding information on how to do this is like pulling teeth, unfortunately.  Am I supposed to:   Delete the Trigger in Sandbox Make a deployment package in Sandbox Add the Trigger which is going to be listed in RED now Deploy (and that deletes it from Production)?   I am not seeing deleted Triggers in Red in Sandbox.  Are they NOT listed under "Triggers" for deployment, but elsewhere?   Frustrated = true.   Does this ONLY apply to Classes??  UPDATE:  I just tried again, with a CLASS, and it still doesn't show up at all as a Deployable package (red or not) after I delete it in the Sandbox.  UPDATE 2:  I was just able to delete a class, that I know was written via IDE from a third party, in both Sandbox and Production.  So now I'm wondering if it has to do with where it was originally deployed from (if from IDE, IDE can delete it - it from Sandbox, you have to jump through hoops).  :-( How to approach a student with bad hygiene? I teach engineering at a community college in the US. I currently have a student with very poor hygiene. He stinks pretty badly, has obviously greasy hair, doesn’t change his clothes frequently, and I usually seat him in the back of the room (during exams and labs, when I have power over seating arrangements) so I don’t have to smell his (relatively strong) body odor.  This student has also spoken with a colleague of mine about his low self-esteem. He’s worried that he isn’t making friends, and doesn’t know if the people he hangs out with are hanging out with him because they want something from him (help with classwork) or because they are truly friends.   In my opinion, this student follows me around like a puppy, and he tries too hard to impress people (students and faculty alike). I am a young-ish female faculty member and I try to create very large boundaries, especially with my male students. As an example, he frequently finds the need to explain to me (in way too much detail) why he gets questions wrong on exams (I don’t care, and I don’t need to know, which I’ve told him several times with no success).  So, I would like to mention to this student that his hygiene is off-putting and isn’t helping him out in the friends department. However, because he already follows me around like a puppy dog, I don’t want to encourage any more interaction from him. Additionally, it frankly embarrasses me to have to bring up hygiene issues with somebody in their late teens / early twenties. How can I bring this issue up while still maintaining my boundary as a female faculty member who doesn’t want her male students following her around and asking her for advice all the time?  I was hoping that I would be finished up with this student by now, but I am the only professor who teaches Electrical Engineering courses, so I can’t recommend that he take classes with someone else, or ask another colleague to discuss this with him. He will be taking another of my courses next semester and I don’t personally know any of his other intended professors for next semester to ask them to bring it up. How to do one-class text classification? I have to deal with a text classification problem. A web crawler crawls webpages of a certain domain and for each webpage I want to find out whether it belongs to only one specific class or not. That is, if I call this class Positive, each crawled webpage belongs either to class Positive or to class Non-Positive.  I already have a large training set of webpages for class Positive. But how to create a training set for class Non-Positive which is as representative as possible? I mean, I could basically use each and everything for that class. Can I just collect some arbitrary pages that definitely do not belong to class Positive? I'm sure the performance of a text classification algorithm (I prefer to make use of a Naive Bayes algorithm) highly depends on which webpages I choose for class Non-Positive.  So what shall I do? Can somebody please give me an advice? Thank you very much! How to upload a file to a WCF Service? I've build a WCF Service to accept a file and write it to disk. The front-end consists of a page with SWFUpload which is handling the upload on the client side. Apparently, SWFUpload posts the data with a Content Type of: multipart/form-data.  I would think this ok but on the Service side I get an error. The error is "ProtocolException" expecting text/xml. I've tried different message encodings in the bindings but nothing seems to work.  How can I get this file uploaded using multipart/form-data? Do lightsabers have safety settings? While rewatching Star Wars my skin was crawling while watching Luke practice saber technique against a remote on the Falcon.  There's no way I'd want to be in the same room with a beginner waving a lightsaber around, let alone a beginner with his eyes covered.  Samurai apparently practiced with  to reduce training injuries.  Do lightsabers have lower power settings so that a wrong move while practicing doesn't sever a limb or chop through the hull into vacuum? Is there a word for someone with the same name? If a person shares my name, in Dutch there is the word &quot;naamgenoot&quot;, meaning roughly 'member of the same name'.  John A: Hi, my name is &quot;John&quot;  John B: O, then we're insert solution word here!  Similarly,  'classmate' is 'klasgenoot' in Dutch 'roommate' is 'kamergenoot' in Dutch  I'm pretty sure I cannot call someone with the same name as mine a 'namemate' :)  Edit Because sceptics appear to be frustrated mightily by an apparent lack of research, there was  in chat, with no satisfactory conclusion. /Merriam Webster namesake appears to be linked to intentional name correspondance (being named after someone). There may be a US/UK English divide there.  &quot;I was named after my grandfather. I am his namesake.&quot; -   Also, the introduction seems to hint at much broader meaning:  &quot;Namesake is a term used to characterize a person, place, thing, quality, action, state, or idea that has the same, or a similar, name to another&quot;   Do you know of a better word/phrase to describe this succinctly? 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? Does there exist a continuous function $\: f : \mathbf{R} \to \mathbf{R} \:$ such that for   all  functions $\: g : \mathbf{R} \to \mathbf{R} \:$, for all real numbers $x$,  there exists a real number $y$ such that $\: x &lt; y \:$ and $\: g(y) &lt; f(y) \:$? Prove that $(x^2 + x+2)$ ideal is a maximal ideal in $F_3[x]$ ring.  I know the theorem about factor rings and fields     B ideal from A ring is maximal iff A/B factor-ring is a field   How can I use the theorem here? I have a simple cylinder which is mirrored on both the X and Y axis.  When I scale it along the X axis, the two halves of the cylinder overlap, rather than scale as it would before the mirror modifier was applied:    I haven't used Blender in a while and I know this is a simple fix. Help with this query I have a person table. I also have a car table and books table.  The car and book tables both have a foreign key back to person.  I am trying to count the number of books and cars each person has. I tried:  SELECT      Person.Name,      COUNT(BooK.bookid) books,      COUNT(Car.CarId) cars  FROM Person, Book, Car  WHERE Person.ID = Book.PersonID = Car.PersonID    but I get:  Incorrect syntax near '=' Check out the screenshot below, I want to extend my C partition (where Windows is installed) into the unallocated free space shown. This space was cleared up by shrinking the D partition. I can extend the D partition if I want to, but not the C.  Why not? Why is Severus Snape's Patronus the same as Lily Potter's? Are Snape and Lily related somehow? Are Snape and Harry related? One of the joys of high-school mathematics is summing a complicated series to get a “closed-form” expression. And of course many of us have tried summing the harmonic series $H_n =\sum \limits_{k \leq n} \frac{1}{k}$, and failed. But should we necessarily fail?      More precisely, is it known that $H_n$ cannot be written in terms of the elementary functions, say, the rational functions, $\exp(x)$ and $\ln x$? If so, how is such a theorem proved?    Note. When I started writing the question, I was going to ask if it is known that the harmonic function cannot be represented simply as a rational function? But this is easy to see, since $H_n$ grows like $\ln n+O(1)$, whereas no rational function grows logarithmically.  Added note: This  asks a similar question for “elementary integration”. I guess I am asking if there is an analogous theory of “elementary summation”. Hibernate JPA Sequence (non-Id) Is it possible to use a DB sequence for some column that is not the identifier/is not part of a composite identifier?   I'm using hibernate as jpa provider, and I have a table that has some columns that are generated values (using a sequence), although they are not part of the identifier.  What I want is to use a sequence to create a new value for an entity, where the column for the sequence is NOT (part of) the primary key:  @Entity @Table(name = "MyTable") public class MyEntity {      //...     @Id //... etc     public Long getId() {         return id;     }     //note NO @Id here! but this doesn't work...     @GeneratedValue(strategy = GenerationType.AUTO, generator = "myGen")     @SequenceGenerator(name = "myGen", sequenceName = "MY_SEQUENCE")     @Column(name = "SEQ_VAL", unique = false, nullable = false, insertable = true, updatable = true)     public Long getMySequencedValue(){       return myVal;     }  }   Then when I do this:  em.persist(new MyEntity());   the id will be generated, but the mySequenceVal property will be also generated by my JPA provider.  Just to make things clear: I want Hibernate to generate the value for the mySequencedValue property. I know Hibernate can handle database-generated values, but I don't want to use a trigger or any other thing other than Hibernate itself to generate the value for my property. If Hibernate can generate values for primary keys, why can't it generate for a simple property?